add drone file
This commit is contained in:
parent
ade1932487
commit
26bc9e333f
26
.drone.yml
Normal file
26
.drone.yml
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user