22 lines
503 B
YAML
22 lines
503 B
YAML
name: 🗑️ Cache Purge
|
|
|
|
on:
|
|
push:
|
|
tags:
|
|
- '*'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Wait for 5 minutes
|
|
- name: Wait for 2 minutes
|
|
run: sleep 120
|
|
|
|
- name: Purge cache
|
|
uses: jakejarvis/cloudflare-purge-action@master
|
|
env:
|
|
CLOUDFLARE_ZONE: ${{ secrets.CLOUDFLARE_ZONE }}
|
|
CLOUDFLARE_TOKEN: ${{ secrets.CLOUDFLARE_TOKEN }}
|
|
# PURGE_URLS: '["https://version-check.nuclei.sh/versions"]' |