This commit is contained in:
parent
f4220b479e
commit
206045607e
25
.drone.yml
25
.drone.yml
@ -14,8 +14,8 @@ steps:
|
||||
buildFuture: true
|
||||
theme: geeklab
|
||||
when:
|
||||
branch: draft
|
||||
event: push
|
||||
branch: [ draft ]
|
||||
event: [ push ]
|
||||
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
@ -25,23 +25,22 @@ steps:
|
||||
buildFuture: true
|
||||
theme: geeklab
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
branch: [ master ]
|
||||
event: [ push ]
|
||||
|
||||
- name: publish
|
||||
image: appleboy/drone-scp
|
||||
settings:
|
||||
source: public/*
|
||||
target: /var/www/virtual/geeklab/html/geeklabor.de/
|
||||
environment:
|
||||
SSH_HOST:
|
||||
from_secret: ssh_host
|
||||
SSH_USERNAME:
|
||||
from_secret: ssh_username
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
username:
|
||||
from_secret: ssh_username
|
||||
key:
|
||||
from_secret: ssh_key
|
||||
strip_components: 1
|
||||
rm: true
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
branch: [ master ]
|
||||
event: [ push ]
|
||||
|
Reference in New Issue
Block a user