You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
561 B
YAML
37 lines
561 B
YAML
---
|
|
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
platform:
|
|
os: linux
|
|
arch: amd64
|
|
|
|
steps:
|
|
- name: Version check
|
|
image: jguyomard/hugo-builder
|
|
commands:
|
|
- echo "Checking Hugo version."
|
|
- hugo version
|
|
|
|
- name: Build
|
|
image: jguyomard/hugo-builder
|
|
commands:
|
|
- hugo --minify --destination /drone/src/build
|
|
|
|
- name: Deploy
|
|
image: drillster/drone-rsync
|
|
settings:
|
|
hosts:
|
|
- v6-pasiphae.int.goe.de.dyn.n0emis.eu
|
|
key:
|
|
from_secret: ssh_key
|
|
source: /drone/src/build/
|
|
target: /var/www/n0emis.eu/
|
|
|
|
trigger:
|
|
branch:
|
|
- main
|
|
|
|
...
|