Update '.drone.yml'
This commit is contained in:
parent
9777de5604
commit
856c9139ac
1 changed files with 12 additions and 23 deletions
35
.drone.yml
35
.drone.yml
|
|
@ -1,27 +1,16 @@
|
||||||
kind: pipeline
|
|
||||||
type: ssh
|
|
||||||
name: default
|
|
||||||
|
|
||||||
server:
|
|
||||||
host: 140.82.49.174
|
|
||||||
user: root
|
|
||||||
password:
|
|
||||||
from_secret: password
|
|
||||||
platform:
|
|
||||||
os: linux
|
|
||||||
arch: amd64
|
|
||||||
|
|
||||||
clone:
|
|
||||||
disable: true
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: change directory
|
- name: ssh commands
|
||||||
commands:
|
image: appleboy/drone-ssh
|
||||||
- cd /Denair_Fire
|
settings:
|
||||||
- name: git pull
|
host: denairfire.com
|
||||||
commands:
|
username: root
|
||||||
- git pull
|
password:
|
||||||
- name: generate hugo
|
from_secret: password
|
||||||
commands:
|
port: 22
|
||||||
- hugo
|
script:
|
||||||
|
- cd /Denair_Fire
|
||||||
|
- git pull
|
||||||
|
- hugo
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue