Skip to content

solinumasso/gcore-dns-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gcore DNS action

CI Check dist/ CodeQL Coverage

This action provides the following functionality for GitHub Actions users:

  • upsert a DNS record
  • delete a DNS record

Usage

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

Contributions are welcome! See Contributor's Guide

License

This project is licensed under the MIT License - see the LICENSE file for details.

Aknowledge

This repository has been created from GitHub's template typescript-action under MIT license