Skip to content

Commit

Permalink
Merge pull request #80 from nbktechworld/deploy-react-app
Browse files Browse the repository at this point in the history
Add run to deploy React app to production
  • Loading branch information
nbkhope authored Jun 26, 2024
2 parents 76f027c + b097f0f commit 73933d8
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 73933d8

Please sign in to comment.