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

Update dnsconfig.js

Update dnsconfig.js #2

name: Check and Preview DNS changes
on: pull_request
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check DNS configuration
uses: koenrh/[email protected]
with:
args: check
preview:
runs-on: ubuntu-latest
needs: check
steps:
- uses: actions/checkout@v3
- name: Preview DNS changes
id: preview
uses: koenrh/[email protected]
env:
DESEC_API_TOKEN: ${{ secrets.DESEC_API_TOKEN }}
with:
args: preview
- name: Comment diff on PR
uses: unsplash/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
msg: |
```
${{ steps.preview.outputs.output }}
```
check_for_duplicate_msg: true