notebook/.drone.yml
vincent 147fd491a1
Some checks failed
continuous-integration/drone/push Build is failing
change copy user to drone deploy
2021-04-20 10:25:05 +02:00

28 lines
418 B
YAML

kind: pipeline
type: docker
name: deploy
steps:
- name: prepare
image: python
commands:
- make install -e BUILDDIR=build
- name: deploy
image: appleboy/drone-scp
settings:
host: www.ducamps.win
user: drone-deploy
overwrite: true
key:
from_secret: gitea_private_key
target: /usr/share/nginx/html/notebook
source: build
trigger:
branch:
- master
event:
- push