All Projects → xorilog → cloudflare-dns-action

xorilog / cloudflare-dns-action

Licence: other
A GitHub action to set a DNS record using Cloudflare on push to the master branch.

Programming Languages

Makefile
30231 projects
HCL
1544 projects
shell
77523 projects
Dockerfile
14818 projects

Projects that are alternatives of or similar to cloudflare-dns-action

warp-up
Automatically generated referrer bonuses for Cloudflare WARP (https://1.1.1.1)
Stars: ✭ 24 (-41.46%)
Mutual labels:  cloudflare, cloudflare-dns
DNS-over-Discord
A 1.1.1.1 DNS resolver built for Discord
Stars: ✭ 228 (+456.1%)
Mutual labels:  cloudflare, cloudflare-dns
ubnt-cloudflared
Install Cloudflare's DNS proxy on UBNT gateways
Stars: ✭ 22 (-46.34%)
Mutual labels:  cloudflare, cloudflare-dns
warpy
A command-line program to get WARP+ as WireGuard written in python
Stars: ✭ 57 (+39.02%)
Mutual labels:  cloudflare, cloudflare-dns
nrwl-nx-action
A GitHub Action to wrap Nrwl Nx commands in your workflows.
Stars: ✭ 163 (+297.56%)
Mutual labels:  github-actions
typescript-api-starter
🔰 Starter for Node.js express API in Typescript 🚀
Stars: ✭ 72 (+75.61%)
Mutual labels:  github-actions
start-here
You should open this repo first
Stars: ✭ 86 (+109.76%)
Mutual labels:  github-actions
workers-jwt
Generate JWTs on Cloudflare Workers using the WebCrypto API
Stars: ✭ 67 (+63.41%)
Mutual labels:  cloudflare
gh-actions
A Github action for generating Terraform module documentation using terraform-docs and gomplate
Stars: ✭ 56 (+36.59%)
Mutual labels:  github-actions
install-crystal
GitHub Action: Install Crystal programming language
Stars: ✭ 50 (+21.95%)
Mutual labels:  github-actions
action-eslint
GitHub Action to run ESLint on files changed in current PR
Stars: ✭ 44 (+7.32%)
Mutual labels:  github-actions
discord-action
GitHub Action that sends a Discord message.
Stars: ✭ 66 (+60.98%)
Mutual labels:  github-actions
datadog-actions-metrics
Send GitHub Actions metrics to Datadog
Stars: ✭ 27 (-34.15%)
Mutual labels:  github-actions
phpstan-ga
GithubAction for PHPStan
Stars: ✭ 85 (+107.32%)
Mutual labels:  github-actions
aws-cdk-github-oidc
CDK constructs to use OpenID Connect for authenticating your Github Action workflow with AWS IAM
Stars: ✭ 59 (+43.9%)
Mutual labels:  github-actions
gitactionboard
GitactionBoard - Ultimate Dashboard for GithubActions.
Stars: ✭ 30 (-26.83%)
Mutual labels:  github-actions
terraform-github-actions-demo
HashiCorp Terraform Github Actions Demo for Github Satellite 2020.
Stars: ✭ 40 (-2.44%)
Mutual labels:  github-actions
jest-github-action
Jest action adding checks with annotations to your pull requests and coverage table as comments
Stars: ✭ 134 (+226.83%)
Mutual labels:  github-actions
goodfirstissues
A website that targets developers who want to contribute to open source software but do not know where or how to start.
Stars: ✭ 59 (+43.9%)
Mutual labels:  github-actions
miniflare
🔥 Fully-local simulator for Cloudflare Workers
Stars: ✭ 2,811 (+6756.1%)
Mutual labels:  cloudflare

Cloudflare DNS GitHub Action

Build Status

A GitHub action to set a Cloudflare DNS record on push to the master branch.

workflow "on push to master, adjust domain on Cloudflare" {
  on = "push"
  resolves = ["set cloudflare dns record"]
}

action "set cloudflare dns record" {
  uses = "xorilog/cloudflare-dns-action@master"
  env = {
    RECORD_DOMAIN = "site.example.com",
    RECORD_TYPE = "A",
    RECORD_VALUE = "192.168.0.11",
    RECORD_NAME = "terraform",
    RECORD_TTL = "1",
  }
  secrets = [ "CLOUDFLARE_EMAIL", "CLOUDFLARE_TOKEN" ]
}

Heavily inspired by Jessie Frazelle's aws-fargate-action and Chris Pilsworth cloudflare-worker-action GitHub action project. 🏆

Tests

The tests use shellcheck. You don't need to install anything. They run in a container.

$ make test

Using the Makefile

$ make help
cf-apply                      Run terraform apply for Amazon.
cf-destroy                    Run terraform destroy for Amazon.
cf-plan                       Run terraform plan for Amazon.
shellcheck                     Runs the shellcheck tests on the scripts.
test                           Runs the tests on the repository.
update-terraform               Update terraform binary locally from the docker container.
update                         Update terraform binary locally.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].