switch to new drone syntax
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
247ed44702
commit
549537aea1
21
.drone.yml
21
.drone.yml
|
@ -1,5 +1,10 @@
|
|||
pipeline:
|
||||
build-draft:
|
||||
---
|
||||
kind: pipeline
|
||||
name: default
|
||||
|
||||
|
||||
steps:
|
||||
- name: build-draft
|
||||
image: plugins/hugo
|
||||
hugoVersion: 0.52
|
||||
validate: true
|
||||
|
@ -11,7 +16,7 @@ pipeline:
|
|||
branch: draft
|
||||
event: push
|
||||
|
||||
build:
|
||||
- name: build
|
||||
image: plugins/hugo
|
||||
hugoVersion: 0.52
|
||||
validate: true
|
||||
|
@ -21,11 +26,17 @@ pipeline:
|
|||
branch: master
|
||||
event: push
|
||||
|
||||
publish:
|
||||
- name: publish
|
||||
image: appleboy/drone-scp
|
||||
source: public/*
|
||||
target: /var/www/virtual/geeklab/html/geeklabor.de/
|
||||
secrets: [ ssh_host, ssh_username, ssh_key ]
|
||||
environment:
|
||||
SSH_HOST:
|
||||
from_secret: ssh_host
|
||||
SSH_USERNAME:
|
||||
from_secret: ssh_username
|
||||
SSH_KEY:
|
||||
from_secret: ssh_key
|
||||
strip_components: 1
|
||||
rm: true
|
||||
when:
|
||||
|
|
Reference in New Issue