Skip to content
name: Deploy to S3 AWS
on:
push:
branches:
- "*"
jobs:
build:

Check failure on line 9 in .github/workflows/frontend-s3-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/frontend-s3-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 9
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
- name: Build website
run: |
cd client
npm run build
- name: Set AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.MY_SECRET_ACCESS_ID_KEY }}
aws-secret-access-key: ${{ secrets.MY_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.REGION }}
- name: Sync client/build to S3 bucket
run: aws s3 sync client/build/ s3://video-recommendation-2024