Skip to content

Commit

Permalink
Merge pull request #59 from hackforla/environment_injection
Browse files Browse the repository at this point in the history
Environment injection
  • Loading branch information
sellnat77 authored Oct 9, 2019
2 parents 99a9716 + 6536a6a commit d7df070
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
8 changes: 8 additions & 0 deletions .github/workflows/Continuous_Delivery.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,11 @@ jobs:
run: npm run-script build
- name: Run Tests
run: export CI=true && npm run test -- --coverage
env:
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
- name: Deploy
run: npm run deploy
env:
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}

4 changes: 3 additions & 1 deletion .github/workflows/Continuous_Integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: npm install && echo $TEST_SECRET
run: npm install
- name: Build project
run: npm run-script build
- name: Run Tests
run: export CI=true && npm run test -- --coverage
env:
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }}

0 comments on commit d7df070

Please sign in to comment.