Skip to content

Commit e32c6a7

Browse files
authored
Merge pull request #1 from ZeroHost-Code/beta
Beta
2 parents 7fd9ea4 + fbdfe32 commit e32c6a7

2 files changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/deploy-beta.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ jobs:
1717
port: ${{ secrets.SSH_PORT || 22 }}
1818
script: |
1919
cd ${{ secrets.BETA_PATH }}
20-
git pull
20+
git fetch origin
21+
git checkout -B beta origin/beta
22+
npm install
23+
pm2 restart beta

.github/workflows/deploy-main.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ jobs:
1717
port: ${{ secrets.SSH_PORT || 22 }}
1818
script: |
1919
cd ${{ secrets.MAIN_PATH }}
20-
git pull
20+
git fetch origin
21+
git checkout -B main origin/main
22+
npm install
23+
pm2 restart zerohost-dashboard

0 commit comments

Comments
 (0)