-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixed path in vite config+build command fix+preview fix
- Loading branch information
1 parent
8607c01
commit cd9da7d
Showing
3 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,19 +15,27 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: Install and Build | ||
if: github.event.action != 'closed' # You might want to skip the build if the PR has been closed | ||
env: | ||
VITE_APP_NODE_ENV: ${{ secrets.VITE_APP_NODE_ENV }} | ||
VITE_APP_DEPLOY_ENV: ${{ secrets.VITE_APP_DEPLOY_ENV }} | ||
VITE_APP_PUBLIC_URL: ${{ secrets.VITE_APP_PUBLIC_URL }} | ||
VITE_APP_WALLETCONNECT_PROJECT_ID: ${{ secrets.VITE_APP_WALLETCONNECT_PROJECT_ID }} | ||
|
||
ESLINT_NO_DEV_ERRORS: ${{ secrets.ESLINT_NO_DEV_ERRORS }} | ||
DISABLE_ESLINT_PLUGIN: ${{ secrets.DISABLE_ESLINT_PLUGIN }} | ||
TSC_COMPILE_ON_ERROR: ${{ secrets.TSC_COMPILE_ON_ERROR }} | ||
|
||
GENERATE_SOURCEMAP: ${{ secrets.GENERATE_SOURCEMAP }} | ||
|
||
PR_PREVIEW_BASE: ${{ github.event.pull_request.number }} | ||
|
||
run: | | ||
yarn install | ||
yarn build:pr:preview | ||
- name: Deploy preview | ||
uses: rossjrw/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters