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 24b5d7a commit e89e2faCopy full SHA for e89e2fa
2 files changed
.github/workflows/deploy-beta.yml
@@ -19,7 +19,8 @@ jobs:
19
cd ${{ secrets.BETA_PATH }}
20
cp .env /tmp/beta.env 2>/dev/null; cp port.txt /tmp/beta.port.txt 2>/dev/null
21
git fetch origin
22
- git checkout -f -B beta origin/beta
+ git reset --hard origin/beta
23
+ git checkout -B beta
24
cp /tmp/beta.env .env 2>/dev/null; cp /tmp/beta.port.txt port.txt 2>/dev/null
25
npm install
26
pm2 restart beta
.github/workflows/deploy-main.yml
cd ${{ secrets.MAIN_PATH }}
cp .env /tmp/main.env 2>/dev/null; cp port.txt /tmp/main.port.txt 2>/dev/null
- git checkout -f -B main origin/main
+ git reset --hard origin/main
+ git checkout -B main
cp /tmp/main.env .env 2>/dev/null; cp /tmp/main.port.txt port.txt 2>/dev/null
pm2 restart zerohost-dashboard
0 commit comments