Compare commits

..

2 Commits

Author SHA1 Message Date
Florian Sorg 7c526ad74e implement rC3 NOWHERE theme
continuous-integration/drone/push Build is passing Details
2021-12-21 01:30:19 +01:00
Luca 2f8ea74a3d Build staging site with correct url
continuous-integration/drone/push Build is passing Details
2021-12-21 01:29:53 +01:00
1 changed files with 16 additions and 3 deletions

View File

@ -7,13 +7,26 @@ name: default
steps: steps:
- name: build - name: build
image: plugins/hugo image: plugins/hugo
settings: settings: &build-settings
extended: yes extended: yes
validate: yes validate: yes
when:
branch:
exclude:
- staging
- name: build-staging
image: plugins/hugo
settings:
<<: *build-settings
url: https://staging.www.franconian.net/
when:
branch:
- staging
- name: deploy-staging - name: deploy-staging
image: appleboy/drone-scp image: appleboy/drone-scp
settings: &settings settings: &deploy-settings
host: dragon.luj0ga.de host: dragon.luj0ga.de
username: www username: www
key: key:
@ -33,7 +46,7 @@ steps:
- name: deploy - name: deploy
image: appleboy/drone-scp image: appleboy/drone-scp
settings: settings:
<<: *settings <<: *deploy-settings
target: /srv/www/sites/www.franconian.net/ target: /srv/www/sites/www.franconian.net/
when: when:
event: event: