*Pass token via switch
This commit is contained in:
parent
1cf9bdc78a
commit
db73c2e5d0
2
app.sh
2
app.sh
|
@ -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}
|
||||||
|
|
Loading…
Reference in New Issue