Skip to content

Commit

Permalink
set ENV vars in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Apr 16, 2024
1 parent 66091e5 commit b49c2ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

- name: Set VITE_BASE
run: echo "VITE_BASE=https://$GITHUB_REPOSITORY_OWNER.github.io/${GITHUB_REPOSITORY##*/}/" >> $GITHUB_ENV

- name: Install Node.js
uses: actions/setup-node@v3
with:
Expand All @@ -25,10 +28,13 @@ jobs:

- name: Install dependencies
run: npm install && cd inner-app && npm install
env:
VITE_BASE: ${{ env.VITE_BASE }}

- name: build
env:
BASE_PATH: '/integrity-wallet'
VITE_BASE: ${{ env.VITE_BASE }}
run: |
cd inner-app && npm run build && cd .. && npm run build
touch docs/.nojekyll
Expand Down

0 comments on commit b49c2ef

Please sign in to comment.