|
|
@ -1,16 +1,20 @@ |
|
|
|
pipeline: |
|
|
|
clone: |
|
|
|
image: plugins/git |
|
|
|
recursive: true |
|
|
|
submodule_override: |
|
|
|
toasted-cactus: https://git.schneider-hosting.de/schneider/toasted-cactus.git |
|
|
|
build: |
|
|
|
kind: pipeline |
|
|
|
type: docker |
|
|
|
name: default |
|
|
|
|
|
|
|
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 |
|
|
|
|
|
|
|
deploy: |
|
|
|
- name: deploy |
|
|
|
image: drillster/drone-rsync |
|
|
|
hosts: [ "rezept-schneider.de" ] |
|
|
|
target: /var/www/html/rezeptschneider/public/ |
|
|
|