2023-08-18 05:31:27 -04:00
|
|
|
# SPDX-FileCopyrightText: 2023 Olivier Charvin <git@olivier.pfad.fr>
|
|
|
|
# SPDX-License-Identifier: CC0-1.0
|
2023-08-20 14:30:48 -04:00
|
|
|
name: 'OVH DNS Update'
|
2023-08-18 05:31:27 -04:00
|
|
|
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'
|