Skip to content

Update frontend.yml #117

Update frontend.yml

Update frontend.yml #117

Workflow file for this run

name: Deploy Frontend
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
working-directory: ./client

Check failure on line 11 in .github/workflows/frontend.yml

View workflow run for this annotation

GitHub Actions / Deploy Frontend

Invalid workflow file

The workflow is not valid. .github/workflows/frontend.yml (Line: 11, Col: 5): Unexpected value 'working-directory'
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '14'
- name: Install dependencies
run: npm install
- name: Build Website
run: npm run build
- name: Debug
run: ls -la build
- name: Copy to S3
run: |
aws configure set aws_access_key_id ${{ secrets.AWS_ACCESS_KEY_ID }}
aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws configure set default.region eu-west-2
aws s3 sync ./client/build/ s3://video-app-olha