notebook/.drone.yml

27 lines
386 B
YAML
Raw Normal View History

2021-04-19 18:48:12 +00:00
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: gitea
key:
from_secret: gitea_private_key
target: /usr/share/nginx/notebook
source: build
trigger:
branch:
- master
event:
- push