This repository has been archived on 2023-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
geeklabor_legacy/.drone.yml
Robert Kaussow 850dd5b658
All checks were successful
the build was successful
drone: add missing hostname to publish step
2018-12-20 01:19:04 +01:00

30 lines
583 B
YAML

pipeline:
build-draft:
image: cbrgm/drone-hugo:latest
validate: true
buildDrafts: true
buildExpired: true
buildFuture: true
theme: geeklab
when:
branch: draft
event: push
build-prod:
image: cbrgm/drone-hugo:latest
validate: true
theme: geeklab
when:
branch: master
event: push
publish:
image: appleboy/drone-scp
host: machholz.uberspace.de
source: public/*
target: /var/www/virtual/geeklab/geeklabor.de
secrets: [ ssh_username, ssh_key ]
when:
branch: master
event: push