Skip to content

Commit 83b696f

Browse files
author
minhnq
committed
chore: explicitly export Bun path in deploy script instead of sourcing zshrc.
1 parent 49e6cda commit 83b696f

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

deploy.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
source ~/.zshrc
1+
# Export bun path explicitly
2+
export BUN_INSTALL="$HOME/.bun"
3+
export PATH="$BUN_INSTALL/bin:$PATH"
4+
25
if ! command -v bun &> /dev/null; then
36
curl -fsSL https://bun.sh/install | bash
47
fi
8+
59
bun install
610
bun run build
711
pm2 restart devtool

0 commit comments

Comments
 (0)