-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (46 loc) · 1.14 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
45
46
name: "OVH alter DNS record"
description: "Alter a DNS record using the OVH API"
inputs:
application-key:
description: "Application key"
required: true
application-secret:
description: "Application secret"
required: true
consumer-key:
description: "Consumer key"
required: true
api-endpoint:
description: "API endpoint"
required: false
dns-zone:
description: "DNS zone"
required: true
record-id:
description: "DNS record ID"
required: true
subdomain:
description: "DNS record subdomain"
required: false
target:
description: "DNS record target"
required: false
ttl:
description: "DNS record TTL"
required: false
runs:
using: "docker"
image: "Dockerfile"
env:
APPLICATION_KEY: ${{ inputs.application-key }}
APPLICATION_SECRET: ${{ inputs.application-secret }}
CONSUMER_KEY: ${{ inputs.consumer-key }}
API_ENDPOINT: ${{ inputs.api-endpoint }}
DNS_ZONE: ${{ inputs.dns-zone }}
RECORD_ID: ${{ inputs.record-id }}
SUBDOMAIN: ${{ inputs.subdomain }}
TARGET: ${{ inputs.target }}
TTL: ${{ inputs.ttl }}
branding:
icon: "server"
color: "purple"