The Cloudflare Purgation Ritual #5
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: The Cloudflare Purgation Ritual | |
permissions: | |
contents: read | |
on: | |
schedule: | |
# Runs at 00:00 every other Sunday | |
- cron: '0 0 */14 * *' | |
workflow_dispatch: # Allows manual triggering | |
jobs: | |
cleanse: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Unearthing the Code Codex | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Summoning the Deno Oracle | |
uses: denoland/setup-deno@v2 | |
with: | |
deno-version: v2.x | |
- name: Performing the Sacred Cleanse | |
working-directory: projects/client | |
env: | |
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
run: deno task cloudflare:cleanse |