Skip to content

Commit

Permalink
Revert "Comment out React app deploy because not working"
Browse files Browse the repository at this point in the history
This reverts commit 98d12a0.
  • Loading branch information
nbkhope committed Jun 26, 2024
1 parent 98d12a0 commit 46edf1c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ 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
# - run: aws configure set region us-east-1 --profile full-stack-web-dev-bootcamp
# - run: aws configure set aws_access_key_id ${{ secrets.FSWDB_AWS_ACCESS_KEY_ID }} --profile full-stack-web-dev-bootcamp
# - run: aws configure set aws_secret_access_key ${{ secrets.FSWDB_AWS_SECRET_ACCESS_KEY }} --profile full-stack-web-dev-bootcamp
# # - run: echo "PUBLIC_URL=/bootcamp-2024-06-17/web-client" > web-client/.env
# - run: aws s3 website s3://full-stack-web-dev-bootcamp --index-document index.html --error-document index.html --endpoint-url=http://us-southeast-1.linodeobjects.com --profile full-stack-web-dev-bootcamp
# - run: cd web-client && npm run build && aws s3 cp build/ s3://full-stack-web-dev-bootcamp --endpoint-url=http://us-southeast-1.linodeobjects.com --profile full-stack-web-dev-bootcamp --recursive --acl public-read
- run: cd web-client && npm install
- run: aws configure set region us-east-1 --profile full-stack-web-dev-bootcamp
- run: aws configure set aws_access_key_id ${{ secrets.FSWDB_AWS_ACCESS_KEY_ID }} --profile full-stack-web-dev-bootcamp
- run: aws configure set aws_secret_access_key ${{ secrets.FSWDB_AWS_SECRET_ACCESS_KEY }} --profile full-stack-web-dev-bootcamp
# - run: echo "PUBLIC_URL=/bootcamp-2024-06-17/web-client" > web-client/.env
- run: aws s3 website s3://full-stack-web-dev-bootcamp --index-document index.html --error-document index.html --endpoint-url=http://us-southeast-1.linodeobjects.com --profile full-stack-web-dev-bootcamp
- run: cd web-client && npm run build && aws s3 cp build/ s3://full-stack-web-dev-bootcamp --endpoint-url=http://us-southeast-1.linodeobjects.com --profile full-stack-web-dev-bootcamp --recursive --acl public-read

0 comments on commit 46edf1c

Please sign in to comment.