burble.dn42 website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
716 B

---
kind: pipeline
type: docker
name: deploy
steps:
- name: build
image: plugins/hugo
settings:
hugo_version: 0.91.2
validate: true
- name: deploy
image: jcr.burble.dn42/bdn42-docker/rsync
environment:
VAULT_TOKEN:
from_secret: WWW_DEPLOY_TOKEN
RSYNC_CHOWN: 81001:81001
RSYNC_CHMOD: D2755,F644
commands:
- /rsync.sh de-fra1,ca-bhs2,us-lax1 public/ apps/nginx/burble.dn42/
when:
branch: master
event: push
image_pull_secrets:
- CONFIG_JSON
---
kind: secret
name: WWW_DEPLOY_TOKEN
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