*Use new do-cdn-purge CI plugin
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Derrick Hammer 2022-12-06 15:17:37 -05:00
parent c6b136c214
commit 67e432c345
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 8 deletions

View File

@ -33,12 +33,9 @@ pipeline:
gpg_password: gpg_password:
from_secret: gpg_password from_secret: gpg_password
purge_cdn: purge_cdn:
image: digitalocean/doctl:latest image: git.lumeweb.com/lumeweb/do-cdn-purge
settings: settings:
do_access_token: DIGITALOCEAN_ACCESS_TOKEN:
from_secret: do_access_token from_secret: DIGITALOCEAN_ACCESS_TOKEN
do_cdn_id: DIGITALOCEAN_CDN_ID:
from_secret: do_cdn_id from_secret: DIGITALOCEAN_CDN_ID
commands:
- export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DO_ACCESS_TOKEN
- doctl compute cdn flush $PLUGIN_DO_CDN_ID