This commit is contained in:
parent
3970981f1b
commit
a1d50ae958
33
.drone.yml
33
.drone.yml
@ -11,17 +11,21 @@ steps:
|
||||
hugo_version: 0.91.2
|
||||
validate: true
|
||||
|
||||
#- name: deploy
|
||||
# image: alpine
|
||||
# environment:
|
||||
# VAULT_TOKEN:
|
||||
# from_secret: WWW_DEPLOY_TOKEN
|
||||
# commands:
|
||||
# - apk add --update bash openssh-client
|
||||
# - ./push.sh
|
||||
# when:
|
||||
# branch: master
|
||||
# event: push
|
||||
- name: deploy
|
||||
image: c8n.io/simonburblecom/rsync
|
||||
environment:
|
||||
VAULT_TOKEN:
|
||||
from_secret: WWW_DEPLOY_TOKEN
|
||||
RSYNC_CHOWN: 81001:81001
|
||||
RSYNC_CHMOD: D2755,F644
|
||||
commands:
|
||||
- /rsync.sh de-fra1,ca-bhs2 public/ apps/nginx/burble.dn42/
|
||||
when:
|
||||
branch: master
|
||||
event: push
|
||||
|
||||
image_pull_secrets:
|
||||
- CONFIG_JSON
|
||||
|
||||
---
|
||||
kind: secret
|
||||
@ -30,4 +34,11 @@ get:
|
||||
path: burble.dn42/kv/data/drone/rsync
|
||||
name: VAULT_TOKEN
|
||||
|
||||
---
|
||||
kind: secret
|
||||
name: CONFIG_JSON
|
||||
get:
|
||||
path: burble.dn42/kv/data/drone/docker
|
||||
name: configjson
|
||||
|
||||
# end of file
|
Loading…
x
Reference in New Issue
Block a user