gcg-website/.drone.dev.yml
2023-02-01 17:35:23 +01:00

36 lines
765 B
YAML

kind: pipeline
type: docker
name: dev
steps:
- name: hugo build
image: plugins/hugo
settings:
hugo_version: 0.110.0
validate: false
extended: true
url: https://dev.cantorgymnasium.de/
commands:
- apk add --update --no-cache tzdata
- /bin/drone-hugo
- name: deploy
image: drillster/drone-rsync
settings:
hosts: [ "cantorgymnasium.de" ]
port:
from_secret: ssh_port
user: web-push
key:
from_secret: ssh_key
source: public/
target: /opt/data/webdata/gcg-website-dev/
recursive: true
delete: true
trigger:
branch:
- master
event:
- push
- cron
- rollback