This action provides the following functionality for GitHub Actions users:
- upsert a DNS record
- delete a DNS record
See action.yml
- uses: solinumasso/gcore-dns-action
with:
# Gcore credentials
api-key: ${{ secrets.GCORE_API_KEY }}
# See options here: https://api.gcore.com/docs/iam#section/Authentication/APIKey
# Whether to upsert the record or making sure it's not there
present: true
zone: example.com
subdomain: www
# If preset is true, otherwise useless
target: example.org.
# Optional parameters
# default: CNAME
type: CNAME
# Record type
# default: 600
ttl: 600
The only output is record
which is the raw output from Gcore API if
present: true
.
Contributions are welcome! See Contributor's Guide
This project is licensed under the MIT License - see the LICENSE file for details.
This repository has been created from GitHub's template typescript-action under MIT license