Skip to content

Commit a73606e

Browse files
authored
Update azure-static-web-apps-ashy-field-0888efb03.yml
1 parent b15db71 commit a73606e

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/azure-static-web-apps-ashy-field-0888efb03.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,18 @@ jobs:
1919
with:
2020
submodules: true
2121
lfs: false
22+
- name: Set up Node.js
23+
uses: actions/setup-node@v3
24+
with:
25+
node-version: '20.x'
26+
- name: Install dependencies
27+
run: npm install
28+
working-directory: ./frontend
29+
- name: Build the app
30+
run: npm run build
31+
working-directory: ./frontend
32+
env:
33+
VITE_API_BASE_URL: ${{ secrets.VITE_API_BASE_URL }} # Setting the environment
2234
- name: Build And Deploy
2335
id: builddeploy
2436
uses: Azure/static-web-apps-deploy@v1

0 commit comments

Comments
 (0)