diff options
| author | u <@> | 2026-03-10 10:17:43 +0200 |
|---|---|---|
| committer | u <@> | 2026-03-10 10:17:43 +0200 |
| commit | 3b8d4c4f0d03d7e0951049611384c61d1d498f3a (patch) | |
| tree | f8688c8f756f7b4707db865325191fa7caaa02af /deploy.sh | |
| parent | 45329d748b964748ba4f09b70500d81137aad487 (diff) | |
a
Diffstat (limited to 'deploy.sh')
| -rwxr-xr-x | deploy.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 0000000..1c40038 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +cp ~/Documents/diary assets/_ +. ./apikeys +curl "https://api.cloudflare.com/client/v4/zones/${ZONE_ID}/purge_cache" \ + -H 'Content-Type: application/json' \ + -H "Authorization: Bearer ${APIKEY}" \ + -d '{ "purge_everything": true }' +npx wrangler deploy |
