Skip to content

Commit 27f52bd

Browse files
committed
update
Signed-off-by: Innei <i@innei.in>
1 parent efd4f70 commit 27f52bd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,8 @@ jobs:
158158
unzip -o $workdir/release.zip
159159
cp $HOME/shiro/.env $workdir/standalone/.env
160160
export NEXT_SHARP_PATH=$(npm root -g)/sharp
161-
pm2 reload $workdir/standalone/ecosystem.config.js
161+
# https://github.com/Unitech/pm2/issues/3054
162+
pm2 stop $workdir/standalone/ecosystem.config.js && pm2 delete $workdir/standalone/ecosystem.config.js && pm2 start $workdir/standalone/ecosystem.config.js
162163
rm $workdir/release.zip
163164
echo "Deployed successfully"
164165

0 commit comments

Comments
 (0)