Skip to content

Merge pull request #14 from mattcanty/mattcanty-patch-1 #10

Merge pull request #14 from mattcanty/mattcanty-patch-1

Merge pull request #14 from mattcanty/mattcanty-patch-1 #10

Workflow file for this run

name: Push DNS Control
on:
push:
branches:
- main
jobs:
deploy:
name: Run DNS Control in Push mode
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps:
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::171269869827:role/GitHubMattCantyDNSActionsWrite
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 push
uses: koenrh/dnscontrol-action@v3
with:
args: push