Skip to content

Commit

Permalink
setting NODE_ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
kadosh committed Oct 10, 2024
1 parent 82906bf commit 0650b5c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/deploy-gh-pages-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
group: linux-runners
env:
CI: true
NODE_ENV: ${{ inputs.build-env }}

steps:
- name: 🛎 Checkout
Expand Down Expand Up @@ -53,12 +54,7 @@ jobs:
- name: 🤠 Install
run: pnpm install
- name: 🏭 npm build
run: |
if [ "${{ inputs.build-env }}" = "production" ]; then
pnpm build
else
pnpm build:dev
fi
run: pnpm build
- name: 🐜 Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit 0650b5c

Please sign in to comment.