Merge pull request #14 from mattcanty/mattcanty-patch-1 #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |