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 03fba7d6c8
Some checks failed
the build failed
drone: remove theme option
2018-12-20 10:15:31 +01:00

31 lines
750 B
YAML

pipeline:
build-draft:
image: alpine
commands:
- wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -q -O - | tar -xz
- ./hugo -D -E -F
theme: geeklab
when:
branch: draft
event: push
build-prod:
image: alpine
commands:
- wget https://github.com/gohugoio/hugo/releases/download/v0.52/hugo_0.52_Linux-64bit.tar.gz -q -O - | tar -xz
- ./hugo -F
when:
branch: master
event: push
publish:
image: appleboy/drone-scp
source: public/*
target: /var/www/virtual/geeklab/html/geeklabor.de/
secrets: [ ssh_host, ssh_username, ssh_key ]
strip_components: 1
rm: true
when:
branch: master
event: push