forked from InfraWay/create-dns-record
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathaction.yaml
37 lines (35 loc) · 906 Bytes
/
action.yaml
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
name: "CloudFlare DNS Management"
description: "Creates and updates CloudFlare DNS records"
author: "rez0n"
inputs:
type:
description: 'DNS record type, e.g. "A", "CNAME", etc.'
required: true
name:
description: 'DNS record name, e.g. "{PR_NUMBER}.example.com"'
required: true
content:
description: 'DNS record content, e.g. "127.0.0.1"'
ttl:
description: "Time to live for DNS record. Value of 1 is 'automatic'"
default: 1
proxied:
description: "Whether the record is receiving the performance and security benefits of Cloudflare"
default: true
token:
description: "CloudFlare API token"
required: true
zone:
default: "CloudFlare zone"
required: true
outputs:
record_id:
description: "Record ID"
name:
description: 'Affected domain name'
runs:
using: "node12"
main: "main.js"
branding:
icon: "cloud"
color: "orange"