diff --git a/.github/workflows/push-main.yml b/.github/workflows/push-main.yml index 9fc99a9b1a..9c8b73c8e8 100644 --- a/.github/workflows/push-main.yml +++ b/.github/workflows/push-main.yml @@ -53,13 +53,13 @@ jobs: - run: pnpm build working-directory: editor.planx.uk env: - REACT_APP_API_URL: https://api.editor.planx.dev - REACT_APP_HASURA_URL: https://hasura.editor.planx.dev/v1/graphql - REACT_APP_HASURA_WEBSOCKET: wss://hasura.editor.planx.dev/v1/graphql - REACT_APP_SHAREDB_URL: wss://sharedb.editor.planx.dev - REACT_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }} - REACT_APP_AIRBRAKE_PROJECT_KEY: ${{ secrets.AIRBRAKE_PROJECT_KEY }} - REACT_APP_ENV: staging + VITE_APP_API_URL: https://api.editor.planx.dev + VITE_APP_HASURA_URL: https://hasura.editor.planx.dev/v1/graphql + VITE_APP_HASURA_WEBSOCKET: wss://hasura.editor.planx.dev/v1/graphql + VITE_APP_SHAREDB_URL: wss://sharedb.editor.planx.dev + VITE_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }} + VITE_APP_AIRBRAKE_PROJECT_KEY: ${{ secrets.AIRBRAKE_PROJECT_KEY }} + VITE_APP_ENV: staging - name: Upload Build Artifact uses: actions/upload-artifact@v4 with: diff --git a/.github/workflows/push-production.yml b/.github/workflows/push-production.yml index 917a32fa90..319f28051b 100644 --- a/.github/workflows/push-production.yml +++ b/.github/workflows/push-production.yml @@ -53,13 +53,13 @@ jobs: - run: pnpm build working-directory: editor.planx.uk env: - REACT_APP_API_URL: https://api.editor.planx.uk - REACT_APP_HASURA_URL: https://hasura.editor.planx.uk/v1/graphql - REACT_APP_HASURA_WEBSOCKET: wss://hasura.editor.planx.uk/v1/graphql - REACT_APP_SHAREDB_URL: wss://sharedb.editor.planx.uk - REACT_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }} - REACT_APP_AIRBRAKE_PROJECT_KEY: ${{ secrets.AIRBRAKE_PROJECT_KEY }} - REACT_APP_ENV: production + VITE_APP_API_URL: https://api.editor.planx.uk + VITE_APP_HASURA_URL: https://hasura.editor.planx.uk/v1/graphql + VITE_APP_HASURA_WEBSOCKET: wss://hasura.editor.planx.uk/v1/graphql + VITE_APP_SHAREDB_URL: wss://sharedb.editor.planx.uk + VITE_APP_AIRBRAKE_PROJECT_ID: ${{ secrets.AIRBRAKE_PROJECT_ID }} + VITE_APP_AIRBRAKE_PROJECT_KEY: ${{ secrets.AIRBRAKE_PROJECT_KEY }} + VITE_APP_ENV: production - name: Upload Build Artifact uses: actions/upload-artifact@v4 with: