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 efd4f70 commit 27f52bdCopy full SHA for 27f52bd
.github/workflows/deploy.yml
@@ -158,7 +158,8 @@ jobs:
158
unzip -o $workdir/release.zip
159
cp $HOME/shiro/.env $workdir/standalone/.env
160
export NEXT_SHARP_PATH=$(npm root -g)/sharp
161
- pm2 reload $workdir/standalone/ecosystem.config.js
+ # 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
163
rm $workdir/release.zip
164
echo "Deployed successfully"
165
0 commit comments