Skip to content

Commit ab4912c

Browse files
committed
ci: update Azure Static Web Apps workflow to include API configuration environment variable for VITE_API_BASE
1 parent 549b258 commit ab4912c

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/azure-static-web-apps-delightful-flower-0e8ce2510.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
name: Azure Static Web Apps CI/CD
2-
32
on:
43
push:
54
branches:
@@ -8,7 +7,6 @@ on:
87
types: [opened, synchronize, reopened, closed]
98
branches:
109
- azure-deploy
11-
1210
jobs:
1311
build_and_deploy_job:
1412
if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed')
@@ -41,7 +39,8 @@ jobs:
4139
VITE_FIREBASE_MESSAGING_SENDER_ID: ${{ secrets.VITE_FIREBASE_MESSAGING_SENDER_ID }}
4240
VITE_FIREBASE_APP_ID: ${{ secrets.VITE_FIREBASE_APP_ID }}
4341
VITE_USE_FIREBASE_EMULATOR: "false"
44-
42+
# API Configuration
43+
VITE_API_BASE: ${{ secrets.VITE_API_BASE }}
4544
close_pull_request_job:
4645
if: github.event_name == 'pull_request' && github.event.action == 'closed'
4746
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)