update build
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Simon Marsh 2023-09-25 19:03:22 +01:00
parent b30cd2710b
commit ac686aebec

View File

@ -10,29 +10,26 @@ steps:
commands:
- yarn install
- yarn build
- name: deploy
image: git.burble.dn42/burble.dn42/rsync
environment:
VAULT_TOKEN:
from_secret: WWW_DEPLOY_TOKEN
RSYNC_CHOWN: 81001:81001
RSYNC_CHMOD: D2755,F644
- name: stage
image: alpine
commands:
- /rsync.sh de-fra1,ca-bhs2,us-lax1,us-nyc1 dist/ apps/nginx/anycast/
when:
branch: main
event: push
- tar -czf anycast.tar.gz -C dist/ .
- name: upload artifacts
image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest
settings:
token:
from_secret: TOKEN
version: latest
artifact: anycast.tar.gz
package: anycast
owner: burble.dn42
---
kind: secret
name: WWW_DEPLOY_TOKEN
name: TOKEN
get:
path: burble.dn42/kv/data/drone/rsync
name: VAULT_TOKEN
path: burble.dn42/kv/data/drone/git.burble.dn42
name: artifact-token
---
kind: signature
hmac: c8eca2129d5c1717c06fac8f63f72f2b788a93786deadaef2a2a027a374bd2de
...