Skip to content

Commit

Permalink
add staging environment and set as default build (for the static site)
Browse files Browse the repository at this point in the history
  • Loading branch information
iOvergaard committed Aug 8, 2022
1 parent de493d0 commit 1e11769
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
# Copy this to .env.local and change what you want to test.
VITE_UMBRACO_INSTALL_STATUS=running # running or must-install or must-upgrade
VITE_UMBRACO_INSTALL_PRECONFIGURED=false
VITE_UMBRACO_USE_MSW=off
2 changes: 2 additions & 0 deletions .env.staging
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
VITE_UMBRACO_INSTALL_STATUS=running # running or must-install or must-upgrade
VITE_UMBRACO_USE_MSW=on
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
},
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"build": "tsc && vite build --mode staging",
"build:production": "tsc && vite build",
"preview": "vite preview --open",
"test": "web-test-runner --coverage",
"test:watch": "web-test-runner --watch",
Expand Down

0 comments on commit 1e11769

Please sign in to comment.