nuclei-templates/.github/workflows/cache-purge.yml

22 lines
503 B
YAML
Raw Normal View History

2022-07-16 12:42:24 +00:00
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 }}
2022-07-16 12:42:24 +00:00
# PURGE_URLS: '["https://version-check.nuclei.sh/versions"]'