diff --git a/.github/workflows/Continuous_Delivery.yml b/.github/workflows/Continuous_Delivery.yml index 62a76f5c2..0e8ca9c15 100644 --- a/.github/workflows/Continuous_Delivery.yml +++ b/.github/workflows/Continuous_Delivery.yml @@ -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 }} + diff --git a/.github/workflows/Continuous_Integration.yml b/.github/workflows/Continuous_Integration.yml index 847a2ccd1..a49bf29d2 100644 --- a/.github/workflows/Continuous_Integration.yml +++ b/.github/workflows/Continuous_Integration.yml @@ -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 }}