Skip to content

Fix comment

Fix comment #22

name: Deploy earhustlesq.com DNS
# Continuously deploys dns/earhustlesq.com-hosted_zone.yml
on:
push:
branches: [main]
paths: [dns/earhustlesq.com-hosted_zone.yml]
concurrency:
group: ${{ github.workflow }}
permissions:
id-token: write
contents: read
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::561178107736:role/PRX-GHA-AccessRole
role-session-name: gha-deploy-earhustle-dns
- name: Deploy CloudFormation Stack
working-directory: dns
run: |
aws cloudformation deploy \
--no-fail-on-empty-changeset \
--region us-east-1 \
--stack-name hostedzone-earhustlesq-com \
--template-file earhustlesq.com-hosted_zone.yml \
--role-arn arn:aws:iam::561178107736:role/PRX-GHA-ServiceRoleForCloudFormation