*Add new build step to flush package cdn

This commit is contained in:
Derrick Hammer 2022-12-06 14:10:58 -05:00
parent eedd6e7da5
commit c6b136c214
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 10 additions and 0 deletions

View File

@ -32,3 +32,13 @@ pipeline:
distro: jammy distro: jammy
gpg_password: gpg_password:
from_secret: gpg_password from_secret: gpg_password
purge_cdn:
image: digitalocean/doctl:latest
settings:
do_access_token:
from_secret: do_access_token
do_cdn_id:
from_secret: do_cdn_id
commands:
- export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DO_ACCESS_TOKEN
- doctl compute cdn flush $PLUGIN_DO_CDN_ID