Skip to content

Commit

Permalink
Add run to deploy React app to production
Browse files Browse the repository at this point in the history
  • Loading branch information
nbkhope committed Jun 26, 2024
1 parent fb49d2b commit b097f0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ jobs:
- run: aws configure set aws_secret_access_key ${{ secrets.AWS_SECRET_ACCESS_KEY }} --profile nbktechworld
- run: mkdir -p dist && cp src/*.html dist && cp src/*.css dist && cp src/*.js dist
- run: aws s3 cp dist/ s3://nbktechworld/bootcamp-2024-06-17 --endpoint-url=http://us-southeast-1.linodeobjects.com --profile nbktechworld --recursive --acl public-read
- run: cd web-client && npm install && npm run build && aws s3 cp build/ s3://nbktechworld/bootcamp-2024-06-17/web-client --endpoint-url=http://us-southeast-1.linodeobjects.com --profile nbktechworld --recursive --acl public-read

0 comments on commit b097f0f

Please sign in to comment.