mirror of
https://code.forgejo.org/actions/ovh-dns-update.git
synced 2025-02-18 15:32:49 -05:00
33 lines
871 B
YAML
33 lines
871 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
|
||
|
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'
|