|
|
@ -1,20 +1,24 @@ |
|
|
|
pipeline: |
|
|
|
clone: |
|
|
|
image: plugins/git |
|
|
|
recursive: true |
|
|
|
submodule_override: |
|
|
|
toasted-cactus: https://git.schneider-hosting.de/schneider/toasted-cactus.git |
|
|
|
build: |
|
|
|
image: cbrgm/drone-hugo:latest |
|
|
|
validate: true |
|
|
|
output: public/drone-generated |
|
|
|
url: https://rezept-schneider.de |
|
|
|
kind: pipeline |
|
|
|
type: docker |
|
|
|
name: default |
|
|
|
|
|
|
|
deploy: |
|
|
|
image: drillster/drone-rsync |
|
|
|
hosts: [ "rezept-schneider.de" ] |
|
|
|
target: /var/www/html/rezeptschneider/public/ |
|
|
|
source: public/drone-generated/ |
|
|
|
user: deploy-rezept |
|
|
|
secrets: [ rsync_key ] |
|
|
|
steps: |
|
|
|
- name: submodules |
|
|
|
image: alpine/git |
|
|
|
commands: |
|
|
|
- git submodule update --recursive --remote |
|
|
|
|
|
|
|
- name: build |
|
|
|
image: cbrgm/drone-hugo:latest |
|
|
|
validate: true |
|
|
|
output: public/drone-generated |
|
|
|
url: https://rezept-schneider.de |
|
|
|
|
|
|
|
- name: deploy |
|
|
|
image: drillster/drone-rsync |
|
|
|
hosts: [ "rezept-schneider.de" ] |
|
|
|
target: /var/www/html/rezeptschneider/public/ |
|
|
|
source: public/drone-generated/ |
|
|
|
user: deploy-rezept |
|
|
|
secrets: [ rsync_key ] |
|
|
|
|