Skip to content

Commit

Permalink
[Task] #123, add mapbox to github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Type-Style committed Sep 9, 2024
1 parent 6d85d84 commit 134d85a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
NODE_ENV: ${{ vars.NODE_ENV }}
KEY: ${{ secrets.KEY }}
USER_TEST: ${{ secrets.USER_TEST }}
MAPBOX: ${{ secrets.MAPBOX }}

steps:
- uses: actions/checkout@v3
Expand All @@ -27,7 +28,7 @@ jobs:
- run: npm run build --if-present
- name: Start server
run: |
sudo NODE_ENV=$NODE_ENV KEY=$KEY USER_TEST=$USER_TEST npm start &
sudo NODE_ENV=$NODE_ENV KEY=$KEY USER_TEST=$USER_TEST MAPBOX=$MAPBOX npm start &
sleep 16 # Give server some time to start
- name: Check if server is running
run: |
Expand Down

0 comments on commit 134d85a

Please sign in to comment.