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

29 lines
581 B
YAML
Raw Normal View History

2018-12-19 23:13:43 +00:00
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