Skip to content

chore: add aws-deploy workflow #1

chore: add aws-deploy workflow

chore: add aws-deploy workflow #1

Workflow file for this run

name: Deploy AWS
on:
pull_request:
permissions:
id-token: write # This is required for GitHub OIDC auth with AWS
contents: read # This is required for actions/checkout
jobs:
deploy_to_aws:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: ${{ vars.AWS_DEPLOY_ROLE_ARN }}
aws-region: ${{ vars.AWS_REGION }}
- name: Deploy to AWS CloudFormation
uses: aws-actions/aws-cloudformation-github-deploy@v1
with:
name: test-deploy-s3
template: deploy.yaml
working-directory: infrastructure

Check failure on line 28 in .github/workflows/deploy-aws.yml

View workflow run for this annotation

GitHub Actions / Deploy AWS

Invalid workflow file

The workflow is not valid. .github/workflows/deploy-aws.yml (Line: 28, Col: 9): Unexpected value 'working-directory'