ovh-dns-update/action.yml
2023-08-20 20:30:48 +02:00

33 lines
867 B
YAML

# SPDX-FileCopyrightText: 2023 Olivier Charvin <git@olivier.pfad.fr>
# SPDX-License-Identifier: CC0-1.0
name: 'OVH DNS Update'
description: 'Update a DNS TXT record using the OVH API'
inputs:
subdomain:
description: The subdomain to update (e.g. _release)
required: true
domain:
description: The domain (zoneName in the OVH API)
required: true
record-id:
description: The ID of the record to update
required: true
value:
description: The TXT value to set
required: true
ovh-endpoint:
description: The OVH API endpoint
default: ovh-eu
ovh-app-key:
description: The OVH API Application Key
required: true
ovh-app-secret:
description: The OVH API Application Secret
required: true
ovh-consumer-key:
description: The OVH API Consumer Key
required: true
runs:
using: 'go'
main: 'main.go'