Fix first scrollytell frame and remove debug statement #164
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: Deploy | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
permissions: | |
id-token: write # This is required for requesting the JWT | |
contents: read # This is required for actions/checkout | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Checkout Docker configs | |
run: | | |
mv ./.github/workflows/deploy.sh . | |
chmod +x deploy.sh | |
- name: Configure AWS credentials from AWS account | |
uses: aws-actions/configure-aws-credentials@v4 | |
with: | |
role-to-assume: ${{ secrets.AWS_ROLE }} | |
aws-region: us-east-1 | |
role-session-name: GitHub-OIDC-frontend | |
- name: Run Deploy | |
env: | |
BRANCH: ${{ github.head_ref || github.ref_name }} | |
AWS_ECR: ${{ secrets.AWS_ECR }} | |
AWS_ECS_CLUSTER: ${{ secrets.AWS_ECS_CLUSTER }} | |
AWS_ECS_CLUSTER_DEV: ${{ secrets.AWS_ECS_CLUSTER_DEV }} | |
AWS_ECS_SERVICE: ${{ secrets.AWS_ECS_SERVICE }} | |
AWS_ECS_SERVICE_DEV: ${{ secrets.AWS_ECS_SERVICE_DEV }} | |
AWS_REGION: ${{ secrets.AWS_REGION }} | |
run: ./deploy.sh |