Skip to content

Add Cantonite website #46

Add Cantonite website

Add Cantonite website #46

Workflow file for this run

name: Preview DNS Changes
on:
pull_request:
jobs:
deploy:
name: Run DNS Control in Preview mode
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
pull-requests: write
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::171269869827:role/GitHubMattCantyDNSActionsRead
aws-region: eu-west-2
- name: Git clone the repository
uses: actions/checkout@v2
- name: DNSControl check
uses: koenrh/dnscontrol-action@v3
with:
args: check
- name: DNSControl preview
id: dnscontrol_preview
uses: koenrh/dnscontrol-action@v3
with:
args: preview
- uses: mshick/add-pr-comment@v1
with:
message: |
```
${{ steps.dnscontrol_preview.outputs.preview_comment }}
```
repo-token: ${{ secrets.GITHUB_TOKEN }}
allow-repeats: true