mirror of
https://code.forgejo.org/actions/ovh-dns-update.git
synced 2024-11-22 08:01:00 -05:00
35 lines
937 B
YAML
35 lines
937 B
YAML
# SPDX-FileCopyrightText: 2023 Olivier Charvin <git@olivier.pfad.fr>
|
|
# SPDX-License-Identifier: CC0-1.0
|
|
name: 'OVH DNS TXT 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
|
|
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'
|