Skip to content

[PR]: Revamp for Foundational Setup (Milestone #4 and #1) #50

[PR]: Revamp for Foundational Setup (Milestone #4 and #1)

[PR]: Revamp for Foundational Setup (Milestone #4 and #1) #50

Workflow file for this run

name: Preview DNS Changes
on:
pull_request:
branches:
- main
- develop
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PORKBUN_API_KEY: ${{ secrets.PORKBUN_API_KEY }}
PORKBUN_API_SECRET: ${{ secrets.PORKBUN_API_SECRET }}
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
jobs:
dnscontrol-check:
if: github.actor!= 'dependabot[bot]'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Check
id: dnscontrol_check
uses: is-cool-me/dnscontrol-action@v4.9.0
with:
args: check
config_file: 'dnsconfig.js'
creds_file: 'creds.example.json'
dnscontrol-preview:
if: github.actor!= 'dependabot[bot]'
runs-on: ubuntu-latest
needs: dnscontrol-check
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Preview
id: dnscontrol_preview
uses: is-cool-me/dnscontrol-action@v4.9.0
with:
args: preview --notify
config_file: 'dnsconfig.js'
creds_file: 'creds.example.json'