This commit is contained in:
parent
f4220b479e
commit
206045607e
19
.drone.yml
19
.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:
|
||||
host:
|
||||
from_secret: ssh_host
|
||||
SSH_USERNAME:
|
||||
username:
|
||||
from_secret: ssh_username
|
||||
SSH_KEY:
|
||||
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