dns-config/.forgejo/workflows/update-dns-upstream.yaml
Ketan Vijayvargiya b2afd707ca
All checks were successful
update-dns-upstream / execute (push) Successful in 9m58s
Add Forgejo action to publish DNS records upstream.
2024-06-14 06:18:15 -07:00

21 lines
552 B
YAML

name: update-dns-upstream
on: [push]
jobs:
execute:
runs-on: docker
container:
image: node:latest
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.cloudflare_account_id }}
CLOUDFLARE_API_TOKEN: ${{ secrets.cloudflare_api_token }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Update DNS upstream
shell: bash
run: |
nix run . -- version
nix run . -- push