Ketan Vijayvargiya
b2afd707ca
All checks were successful
update-dns-upstream / execute (push) Successful in 9m58s
21 lines
552 B
YAML
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
|