Compare commits
1 Commits
7c526ad74e
...
dbabff53f4
Author | SHA1 | Date |
---|---|---|
Florian Sorg | dbabff53f4 |
19
.drone.yml
19
.drone.yml
|
@ -7,26 +7,13 @@ name: default
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/hugo
|
image: plugins/hugo
|
||||||
settings: &build-settings
|
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: &deploy-settings
|
settings: &settings
|
||||||
host: dragon.luj0ga.de
|
host: dragon.luj0ga.de
|
||||||
username: www
|
username: www
|
||||||
key:
|
key:
|
||||||
|
@ -46,7 +33,7 @@ steps:
|
||||||
- name: deploy
|
- name: deploy
|
||||||
image: appleboy/drone-scp
|
image: appleboy/drone-scp
|
||||||
settings:
|
settings:
|
||||||
<<: *deploy-settings
|
<<: *settings
|
||||||
target: /srv/www/sites/www.franconian.net/
|
target: /srv/www/sites/www.franconian.net/
|
||||||
when:
|
when:
|
||||||
event:
|
event:
|
||||||
|
|
Loading…
Reference in New Issue