Skip to content

Commit

Permalink
Set env variable in .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
nbkhope committed Jun 26, 2024
1 parent 0fec4cc commit b2aedc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,5 @@ jobs:
- 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: PUBLIC_URL=/bootcamp-2024-06-17/web-client cd web-client && 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
- run: echo "PUBLIC_URL=/bootcamp-2024-06-17/web-client" > web-client/.env
- run: cd web-client && 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 b2aedc0

Please sign in to comment.