cf-cdn-purge/app.sh

6 lines
115 B
Bash

#!/usr/bin/env sh
export CF_API_KEY=$PLUGIN_CLOUDFLARE_ACCESS_TOKEN
cfcli -d "$PLUGIN_DOMAIN" purge $PLUGIN_PATH