We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d557d62 commit 54ce436Copy full SHA for 54ce436
.github/workflows/auto-deploy.yml
@@ -80,6 +80,7 @@ jobs:
80
script: |
81
cd /root/project/forum
82
jps -l | grep -E -i 'forum' | awk '{print "kill "$1}' | sh
83
+ docker exec redis redis-cli -a ${ secrets.REDIS_PASSWORD } FLUSHDB
84
rm -rf logs
85
nohup java -jar forum-${{ env.VERSION }}.jar --spring.profiles.active=dev >/dev/null 2>&1 &
86
echo 'forum-${{ env.VERSION }} service started successfully.'
0 commit comments