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

This commit is contained in:
Simon Marsh 2023-09-25 18:56:55 +01:00
parent 4634301867
commit 3ea28cec9a
Signed by: burble
GPG Key ID: E9B4156C1659C079

View File

@ -9,29 +9,26 @@ steps:
image: plugins/hugo
settings:
hugo_version: 0.112.3
- 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 public/ apps/nginx/burble.dn42/
when:
branch: master
event: push
- tar -czf site.tar.gz -C public/ .
- name: upload artifacts
image: git.burble.dn42/burble.dn42/drone-gitea-pkg-plugin:latest
settings:
token:
from_secret: TOKEN
version: latest
artifact: site.tar.gz
package: www
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: ab5a6df6ff88ecb053d595fd5f0e7891eca503787f1269dd372688d0952eb592
...