Skip to content

Commit

Permalink
Change how we build the PR preview builds
Browse files Browse the repository at this point in the history
It turns out that we need NODE_ENV='development' is we want to use
`vite build`. Otherwise the CreditcoinLocal network doesn't show in the
preview build!
  • Loading branch information
atodorov committed Dec 18, 2023
1 parent 9b9b928 commit 442e093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
run: |
# Specify development mode which activates the CreditcoinLocal network in the menu,
# which in turn enables testing the PR preview build with a locally running creditcoin3-node
sed -i "s|vite build|vite build --mode development|" package.json
sed -i "s|yarn build|export NODE_ENV='development' \&\& yarn build|" Dockerfile
echo "===== DEBUG ====="
git diff
echo "===== END ====="
Expand Down

0 comments on commit 442e093

Please sign in to comment.