do-cdn-purge/app.sh

6 lines
138 B
Bash

#!/bin/bash
export DIGITALOCEAN_ACCESS_TOKEN=$PLUGIN_DIGITALOCEAN_ACCESS_TOKEN
/app/doctl compute cdn flush $PLUGIN_DIGITALOCEAN_CDN_ID