Skip to content

Commit

Permalink
Removed BASE_URL from orchestration files.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkendis committed May 13, 2020
1 parent 4587ef9 commit f27ccde
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion .example.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
REACT_APP_MAPBOX_TOKEN=REDACTED
DB_URL=REDACTED
BASE_URL=/311-data
2 changes: 0 additions & 2 deletions .github/workflows/Continuous_Delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ jobs:
run: |
echo REACT_APP_MAPBOX_TOKEN=${{ secrets.MAPBOX_TOKEN }} > .env
echo DB_URL=${{ secrets.DB_URL }} >> .env
echo BASE_URL=${{ secrets.BASE_URL }} >> .env
echo GITHUB_SHA=${{ github.sha }} >> .env
- name: Build project
run: npm run build
Expand All @@ -36,7 +35,6 @@ jobs:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
REACT_APP_MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
DB_URL: ${{ secrets.DB_URL }}
BASE_URL: ${{ secrets.BASE_URL }}
BASE_BRANCH: master # The branch the action should deploy from.
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: dist # The folder the action should deploy.
Expand Down
1 change: 0 additions & 1 deletion Orchestration/docker-compose-example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ services:
environment:
REACT_APP_MAPBOX_TOKEN: REDACTED
DB_URL: http://localhost:5000
BASE_URL: ''
ports:
- 3000:3000

Expand Down
1 change: 0 additions & 1 deletion copyEnv.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
echo REACT_APP_MAPBOX_TOKEN=$REACT_APP_MAPBOX_TOKEN > .env
echo DB_URL=$DB_URL >> .env
echo BASE_URL=$BASE_URL >> .env
webpack
node server.js

0 comments on commit f27ccde

Please sign in to comment.