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 9f966abc32
All checks were successful
the build was successful
add minimal drone config
2018-12-20 00:13:43 +01:00

29 lines
581 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
# source: public/*
# target: /var/www/virtual/geeklab/geeklabor.de
# secrets: [ ssh_username, ssh_password, ssh_key ]
# when:
# branch: master
# event: push