Skip to content

Commit

Permalink
Fixed the frontend build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
KimiHei committed Jan 11, 2023
1 parent a94d7f0 commit d7a7113
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ env:
RUN_REGION: europe-north1
REACT_FRONTEND_CLOUD_RUN_SERVICE_NAME: get-a-room
NODE_BACKEND_CLOUD_RUN_SERVICE_NAME: get-a-room-node-backend
REACT_FRONTEND_VAPID_KEY_STAGING: ${{ secrets.VAPID_KEY_STAGING }}
REACT_FRONTEND_VAPID_KEY_PRODUCTION: ${{ secrets.VAPID_KEY_PRODUCTION }}

jobs:
check-style:
Expand Down Expand Up @@ -43,7 +41,7 @@ jobs:
- run: npm ci
- run: npm run build:ci
env:
REACT_APP_SERVER_KEY: "${{ github.ref == 'refs/heads/main' && secrets.VAPID_KEY_PRODUCTION || secrets.VAPID_KEY_STAGING }}"
REACT_APP_SERVER_KEY: "${{ github.ref == 'refs/heads/main' && secrets.REACT_FRONTEND_VAPID_KEY_PRODUCTION || secrets.REACT_FRONTEND_VAPID_KEY_STAGING }}"
- uses: actions/upload-artifact@main
with:
name: frontend-build
Expand Down

0 comments on commit d7a7113

Please sign in to comment.