Skip to content

London10-AfshaHossain-FullStackProjectAssessment-Week3-Level 300 #1

London10-AfshaHossain-FullStackProjectAssessment-Week3-Level 300

London10-AfshaHossain-FullStackProjectAssessment-Week3-Level 300 #1

name: S3Workflow
on:
push:
branches:
- level-300
defaults:
run:
working-directory: ./client
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup NodeJS
uses: actions/setup-node@v2
env:

Check failure on line 24 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 24
NODE_ENV: production
- name: Install Dependencies
run: npm install
- name: create build
run: npm run build
- name: AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{secrets.ACCESS_KEY}}
aws-secret-access-key: ${{secrets.SECRET_ACCESS_KEY}}
aws-region: eu-west-1
- name: Deploy static site to S3 bucket
run: aws s3 sync ./public/ s3://video-storage-app