Update '.drone.yml'
This commit is contained in:
parent
0cf53f20a6
commit
3a4800a58b
1 changed files with 16 additions and 14 deletions
30
.drone.yml
30
.drone.yml
|
|
@ -1,18 +1,20 @@
|
||||||
kind: pipeline
|
kind: pipeline
|
||||||
type: docker
|
type: ssh
|
||||||
name: default
|
name: default
|
||||||
|
|
||||||
steps:
|
server:
|
||||||
- name: ssh commands
|
host: denairfire.com
|
||||||
image: appleboy/drone-ssh
|
user: root
|
||||||
settings:
|
password:
|
||||||
host: denairfire.com
|
from_secret: password
|
||||||
username: root
|
|
||||||
password:
|
|
||||||
from_secret: password
|
|
||||||
port: 22
|
|
||||||
script:
|
|
||||||
- cd /Denair_Fire
|
|
||||||
- git pull
|
|
||||||
- hugo
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: change directory
|
||||||
|
commands:
|
||||||
|
- cd /Denair_Fire
|
||||||
|
- name: git pull
|
||||||
|
commands:
|
||||||
|
- git pull
|
||||||
|
- name: generate hugo
|
||||||
|
commands:
|
||||||
|
- hugo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue