Skip to content

Commit

Permalink
make env variable available to vite during build process
Browse files Browse the repository at this point in the history
  • Loading branch information
uxdxdev committed Nov 26, 2023
1 parent 1decd39 commit fcf9032
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ jobs:
run: npm install
- name: Build
run: npm run build
env:
VITE_API_KEY: ${{ env.VITE_API_KEY }}
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
Expand Down

0 comments on commit fcf9032

Please sign in to comment.