www.franconian.net/.drone.yml

43 lines
760 B
YAML
Raw Normal View History

2020-10-06 01:32:06 +02:00
---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: plugins/hugo
2020-11-13 18:53:46 +01:00
settings:
extended: yes
validate: yes
2021-12-21 01:13:31 +01:00
- name: deploy-staging
image: appleboy/drone-scp
2021-12-21 01:13:31 +01:00
settings: &settings
host: dragon.luj0ga.de
username: www
key:
from_secret: ssh_key
passphrase:
from_secret: ssh_passphrase
2021-12-21 01:13:31 +01:00
target: /srv/www/sites/staging.www.franconian.net/
source: public/*
strip_components: 1
rm: yes
2021-12-21 01:13:31 +01:00
when:
event:
- push
branch:
- staging
- name: deploy
image: appleboy/drone-scp
settings:
<<: *settings
target: /srv/www/sites/www.franconian.net/
when:
event:
- push
branch:
2020-10-09 21:11:17 +02:00
- main