An open API service indexing awesome lists of open source software.

https://github.com/kriasoft/create-dns-record

Create DNS Record Action for GitHub
https://github.com/kriasoft/create-dns-record

Last synced: 3 months ago
JSON representation

Create DNS Record Action for GitHub

Awesome Lists containing this project

README

          

# Create DNS Record Action for GitHub

Creates a new CloudFlare DNS record.

## Usage

```yaml
name: example
on:
pull_request:
type: [opened, reopened]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: kriasoft/create-dns-record@v1
with:
type: "CNAME"
name: "{PR}-review.example.com"
content: "example.com"
ttl: 1
proxied: true
token: ${{ secrets.CLOUDFLARE_TOKEN }}
zone: ${{ secrets.CLOUDFLARE_ZONE }}
```

## License

The scripts and documentation in this project are released under the [MIT License](LICENSE).