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