Skip to content

Commit

Permalink
Changes to fix Static Web App deployment Issue (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
v-rakshinde authored Jul 26, 2024
1 parent 82db252 commit 79ab85a
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ services:
project: src/auth-context-frontend-app
dist: build
language: js
host: staticwebapp
host: staticwebapp
hooks:
postprovision:
shell: sh
run: npm run setbuildenv --prefix src/auth-context-frontend-app
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"start": "react-scripts start",
"prebuild": "npm run envconfig",
"build": "react-scripts build",
"setbuildenv": "npm run envconfig && npm run build",
"pretest": "npm run envconfig",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
6 changes: 5 additions & 1 deletion samples/smartonfhir-oncg10-consolidated/azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,8 @@ services:
project: src/auth-context-frontend-app
dist: build
language: js
host: staticwebapp
host: staticwebapp
hooks:
postprovision:
shell: sh
run: npm run setbuildenv --prefix src/auth-context-frontend-app
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"start": "react-scripts start",
"prebuild": "npm run envconfig",
"build": "react-scripts build",
"setbuildenv": "npm run envconfig && npm run build",
"pretest": "npm run envconfig",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down
6 changes: 5 additions & 1 deletion samples/smartonfhir/azure.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,8 @@ services:
project: src/auth-context-frontend-app
dist: build
language: js
host: staticwebapp
host: staticwebapp
hooks:
postprovision:
shell: sh
run: npm run setbuildenv --prefix src/auth-context-frontend-app
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"start": "react-scripts start",
"prebuild": "npm run envconfig",
"build": "react-scripts build",
"setbuildenv": "npm run envconfig && npm run build",
"pretest": "npm run envconfig",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down

0 comments on commit 79ab85a

Please sign in to comment.