forked from NathanVaughn/actions-cloudflare-purge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
30 lines (30 loc) · 847 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: 'Cloudflare Cache Purge Action'
description: 'A GitHub Action to purge Cloudflare''s entire cache of your site'
author: 'Nathan Vaughn'
inputs:
cf_zone:
description: 'Cloudflare Zone'
required: false
cf_auth:
description: 'Cloudflare Authentication Key'
required: false
urls:
description: 'URLs to purge'
required: true
tags:
description: 'Cache-Tags to purge'
required: true
hosts:
description: 'Hosts to purge'
required: true
prefixes:
description: 'Prefixes to purge'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
args:
- '--cf-zone ${{ inputs.cf_zone }} --cf-auth ${{ inputs.cf_auth }} --urls ${{ inputs.urls }} --tags ${{ inputs.tags }} --hosts ${{ inputs.hosts }} --prefixes ${{ inputs.prefixes }}'
branding:
icon: 'cloud'
color: 'orange'