From 67e432c345571937b18819152b50b6a453691812 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Tue, 6 Dec 2022 15:17:37 -0500 Subject: [PATCH] *Use new do-cdn-purge CI plugin --- .woodpecker.yml | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 09736e9..3baa472 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -33,12 +33,9 @@ pipeline: gpg_password: from_secret: gpg_password purge_cdn: - image: digitalocean/doctl:latest + image: git.lumeweb.com/lumeweb/do-cdn-purge 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 + DIGITALOCEAN_ACCESS_TOKEN: + from_secret: DIGITALOCEAN_ACCESS_TOKEN + DIGITALOCEAN_CDN_ID: + from_secret: DIGITALOCEAN_CDN_ID