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 image: plugins/hugo
settings: settings:
hugo_version: 0.112.3 hugo_version: 0.112.3
- name: deploy - name: stage
image: git.burble.dn42/burble.dn42/rsync image: alpine
environment:
VAULT_TOKEN:
from_secret: WWW_DEPLOY_TOKEN
RSYNC_CHOWN: 81001:81001
RSYNC_CHMOD: D2755,F644
commands: commands:
- /rsync.sh de-fra1,ca-bhs2,us-lax1,us-nyc1 public/ apps/nginx/burble.dn42/ - tar -czf site.tar.gz -C public/ .
when:
branch: master - name: upload artifacts
event: push 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 kind: secret
name: WWW_DEPLOY_TOKEN name: TOKEN
get: get:
path: burble.dn42/kv/data/drone/rsync path: burble.dn42/kv/data/drone/git.burble.dn42
name: VAULT_TOKEN name: artifact-token
---
kind: signature
hmac: ab5a6df6ff88ecb053d595fd5f0e7891eca503787f1269dd372688d0952eb592
...