Browse Source

maybe with the new format

master
Schneider 5 years ago
parent
commit
292cf0d4af
Signed by untrusted user: schneider GPG Key ID: 3F50B02A50039F3B
  1. 40
      .drone.yml

40
.drone.yml

@ -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 ]
Loading…
Cancel
Save