Skip to content

Commit

Permalink
build: update production api (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
WoeOm authored May 12, 2023
1 parent fd4b509 commit 476d2ed
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
preview_output: true
project_name: subscan-pro-lowcode
dist_path: build
script_build: yarn build
script_build: yarn build:stg
enable_cache: true
cache_type: yarn
alias_domain: subscan-pro-lowcode-staging
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,10 @@
},
"scripts": {
"start": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts start",
"start:local": "REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts start",
"build": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts build",
"start:stg-local": "REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts start",
"start:prd-local": "REACT_APP_SUBSCAN_PRO_API=https://platform.subscan.io react-scripts start",
"build": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform.subscan.io react-scripts build",
"build:stg": "REACT_APP_CHANNEL=subscan REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts build",
"build:local": "REACT_APP_SUBSCAN_PRO_API=https://platform-staging.subscan.io react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
Expand Down

0 comments on commit 476d2ed

Please sign in to comment.