Skip to content

Commit

Permalink
Merge pull request #341 from hackforla/DeployFix
Browse files Browse the repository at this point in the history
Deploy fix
  • Loading branch information
sellnat77 authored Mar 2, 2020
2 parents a4c6570 + 59881e9 commit 6bc20ab
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/Continuous_Delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,14 @@ jobs:
run: npm rebuild node-sass
- name: Install Packages
run: npm install
- name: Setup environment
run: |
echo REACT_APP_MAPBOX_TOKEN=${{ secrets.MAPBOX_TOKEN }} > .env
echo DB_URL=${{ secrets.DB_URL }} >> .env
- name: Build project
run: npm run build
env:
REACT_APP_MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
DB_URL: ${{ secrets.DB_URL }}
- name: Run Tests
run: export CI=true && npm run test -- --coverage
env:
REACT_APP_MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
DB_URL: ${{ secrets.DB_URL }}
# DISABLING DEPLOYMENT TO PRESERVE "PRODUCTION"
- name: Deploy to GH pages
uses: JamesIves/github-pages-deploy-action@master
env:
Expand Down

0 comments on commit 6bc20ab

Please sign in to comment.