Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Create README.md

Create README.md #203

Workflow file for this run

name: Publish
on:
push:
branches: [main]
paths:
- "domains/**"
- ".github/workflows/publish.yml"
- "scripts/dns.js"
workflow_dispatch:
concurrency:
group: ${{ github.ref }}-publish
cancel-in-progress: false
jobs:
dns:
name: DNS
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create creds.json
run: echo '{"cloudflare":{"TYPE":"CLOUDFLAREAPI","apitoken":"$CLOUDFLARE_API_TOKEN"}}' > ./creds.json
- name: Publish
uses: koenrh/dnscontrol-action@v3
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
with:
args: push
config_file: "scripts/dns.js"