add drone deployment
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Marsh 2021-12-27 16:40:17 +00:00
parent 3970981f1b
commit a1d50ae958
Signed by: burble
GPG Key ID: 0FCCD13AE1CF7ED8

View File

@ -11,17 +11,21 @@ steps:
hugo_version: 0.91.2 hugo_version: 0.91.2
validate: true validate: true
#- name: deploy - name: deploy
# image: alpine image: c8n.io/simonburblecom/rsync
# environment: environment:
# VAULT_TOKEN: VAULT_TOKEN:
# from_secret: WWW_DEPLOY_TOKEN from_secret: WWW_DEPLOY_TOKEN
# commands: RSYNC_CHOWN: 81001:81001
# - apk add --update bash openssh-client RSYNC_CHMOD: D2755,F644
# - ./push.sh commands:
# when: - /rsync.sh de-fra1,ca-bhs2 public/ apps/nginx/burble.dn42/
# branch: master when:
# event: push branch: master
event: push
image_pull_secrets:
- CONFIG_JSON
--- ---
kind: secret kind: secret
@ -30,4 +34,11 @@ get:
path: burble.dn42/kv/data/drone/rsync path: burble.dn42/kv/data/drone/rsync
name: VAULT_TOKEN name: VAULT_TOKEN
---
kind: secret
name: CONFIG_JSON
get:
path: burble.dn42/kv/data/drone/docker
name: configjson
# end of file # end of file