*Pass token via switch

This commit is contained in:
Derrick Hammer 2022-12-12 07:58:27 -05:00
parent 1cf9bdc78a
commit db73c2e5d0
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
app.sh
View File

@ -2,4 +2,4 @@
export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DIGITALOCEAN_ACCESS_TOKEN export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DIGITALOCEAN_ACCESS_TOKEN
/app/doctl compute cdn flush $PLUGIN_DIGITALOCEAN_CDN_ID /app/doctl -t ${DIGITALOCEAN_ACCESS_TOKEN} compute cdn flush ${PLUGIN_DIGITALOCEAN_CDN_ID}