Skip to content

Remove whitespace

Remove whitespace #20

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@v3
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::561178107736:role/DevOps-GitHubOidcFederatedRole
role-session-name: GitHubActions-DeployEarhustlesqComStack
- 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