Update build.yml
This commit is contained in:
8
.github/workflows/build.yml
vendored
8
.github/workflows/build.yml
vendored
@@ -138,12 +138,8 @@ jobs:
|
|||||||
key: ${{ secrets.VPS_SSH_KEY }}
|
key: ${{ secrets.VPS_SSH_KEY }}
|
||||||
script: |
|
script: |
|
||||||
|
|
||||||
# Install Bun if not already installed
|
# Ensure ~/.bashrc is sourced
|
||||||
if ! command -v bun &> /dev/null; then
|
source ~/.bashrc
|
||||||
echo "Bun is not installed. Installing now..."
|
|
||||||
curl -fsSL https://bun.sh/install | bash
|
|
||||||
export PATH="$HOME/.bun/bin:$PATH"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# Install PM2 if not already installed
|
# Install PM2 if not already installed
|
||||||
if ! command -v pm2 &> /dev/null; then
|
if ! command -v pm2 &> /dev/null; then
|
||||||
|
|||||||
Reference in New Issue
Block a user