We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12a08e4 commit fbdfe32Copy full SHA for fbdfe32
2 files changed
.github/workflows/deploy-beta.yml
@@ -17,9 +17,7 @@ jobs:
17
port: ${{ secrets.SSH_PORT || 22 }}
18
script: |
19
cd ${{ secrets.BETA_PATH }}
20
- git add -A
21
- git stash
22
- git pull origin beta
+ git fetch origin
+ git checkout -B beta origin/beta
23
npm install
24
- pm2 stop beta
25
- pm2 start beta
+ pm2 restart beta
.github/workflows/deploy-main.yml
cd ${{ secrets.MAIN_PATH }}
- git pull origin main
+ git checkout -B main origin/main
- pm2 stop zerohost-dashboard
- pm2 start zerohost-dashboard
+ pm2 restart zerohost-dashboard
0 commit comments