Skip to content

Commit

Permalink
chore: updated ci
Browse files Browse the repository at this point in the history
  • Loading branch information
samzhangjy committed Aug 27, 2023
1 parent c92d0b0 commit 845d49a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ jobs:
password: ${{ secrets.DEPLOY_PASSWORD }}
port: ${{ secrets.DEPLOY_PORT }}
script: |
export NVM_DIR=~/.nvm
source ~/.nvm/nvm.sh
exec bash \-l
echo "[INFO] ObserverX server CI script running with PID $$"
script_home=$(realpath ~/projects/observerx-panel/)
Expand All @@ -23,7 +26,7 @@ jobs:

echo "[INFO] Killed existing CI processes."

echo ${{ secrets.PASSWORD }} | sudo -S lsof -i:443 | grep node | awk '{print $2}' | xargs kill -9
echo ${{ secrets.DEPLOY_PASSWORD }} | sudo -S lsof -i:443 | grep node | awk '{print $2}' | xargs kill -9

old_version=$(pnpm list -g @observerx/panel-server | grep @observerx/panel-server | awk '{print $2}')
latest_version=$(npm view @observerx/panel-server version)
Expand Down

1 comment on commit 845d49a

@vercel
Copy link

@vercel vercel bot commented on 845d49a Aug 27, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.