File tree Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Expand file tree Collapse file tree 5 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "projects": {
33 "prod": "setwithforks",
4- "preview ": "setwithforks-dev"
4+ "staging ": "setwithforks-dev"
55 }
66}
Original file line number Diff line number Diff line change @@ -58,12 +58,12 @@ jobs:
5858 - run : npm run build
5959 working-directory : functions
6060
61- preview :
62- name : Deploy Preview
61+ deploy :
62+ name : Deploy Staging
6363 needs : [format, lint_test, functions]
6464 if : github.event_name == 'push' && github.repository_owner == 'eltoder'
6565 uses : ./.github/workflows/deploy.yml
6666 with :
67- env : preview
67+ env : staging
6868 secrets :
6969 firebase-token : ${{ secrets.FIREBASE_DEV_TOKEN }}
Original file line number Diff line number Diff line change 3838 "start" : " react-scripts start" ,
3939 "dev" : " node rundev.js" ,
4040 "build:dev" : " react-scripts build" ,
41- "build:preview " : " cross-env REACT_APP_ENV=preview react-scripts build" ,
41+ "build:staging " : " cross-env REACT_APP_ENV=staging react-scripts build" ,
4242 "build:prod" : " cross-env REACT_APP_ENV=production react-scripts build" ,
4343 "test" : " react-scripts test --env=jsdom" ,
4444 "eject" : " react-scripts eject" ,
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ emulators = spawn(
4141 [
4242 "emulators:start" ,
4343 "--project" ,
44- "preview " ,
44+ "staging " ,
4545 "--import=./data" ,
4646 "--export-on-exit" ,
4747 ] ,
@@ -61,7 +61,7 @@ app.stdout.pipe(process.stdout);
6161
6262const pubsub = new PubSub ( {
6363 apiEndpoint : "localhost:8085" ,
64- projectId : "setwithfriends -dev" ,
64+ projectId : "setwithforks -dev" ,
6565} ) ;
6666
6767setInterval ( async ( ) => {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ const config = {
1111 } ,
1212 stripe : null , // Stripe not supported in development
1313 } ,
14- preview : {
14+ staging : {
1515 firebase : {
1616 apiKey : "AIzaSyDJbrpSFlmr2D9r9HS0UiFkw_Qk7wlY0lA" ,
1717 authDomain : "setwithforks-dev.firebaseapp.com" ,
You can’t perform that action at this time.
0 commit comments