forked from NathanVaughn/actions-cloudflare-purge
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (44 loc) · 1.12 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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: false
files:
description: "Files to purge"
required: false
tags:
description: "Cache-Tags to purge"
required: false
hosts:
description: "Hosts to purge"
required: false
prefixes:
description: "Prefixes to purge"
required: false
runs:
using: "docker"
image: "Dockerfile"
args:
- "--cf-zone=${{ inputs.cf_zone }}"
- "--cf-auth=${{ inputs.cf_auth }}"
- "--urls"
- "${{ inputs.urls }}"
- "--files"
- "${{ inputs.files }}"
- "--tags"
- "${{ inputs.tags }}"
- "--hosts"
- "${{ inputs.hosts }}"
- "--prefixes"
- "${{ inputs.prefixes }}"
branding:
icon: "cloud"
color: "orange"