Skip to content

Commit

Permalink
Update workflow.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
OlhaDanylevska committed Jan 29, 2024
1 parent 7185853 commit 8eeeba3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ jobs:

- name: Install dependencies
run: npm install

- name: Create build directory in client
run: mkdir -p client/build

- name: Copy client JSON file
run: cp client/package.json ./build/package.json
run: cp client/package.json client/build/package.json

- name: Debug
run: |
Expand All @@ -32,7 +35,6 @@ jobs:
- name: Build Website
run: npm run build


- name: Set AWS credentials
uses: aws-actions/configure-aws-credentials@v1
with:
Expand All @@ -41,4 +43,4 @@ jobs:
aws-region: eu-west-2

- name: Copy to S3
run: aws s3 sync ./build/ s3://video-recommendations
run: aws s3 sync client/build/ s3://video-recommendations

0 comments on commit 8eeeba3

Please sign in to comment.