We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa768e commit e8dd2efCopy full SHA for e8dd2ef
1 file changed
.github/workflows/gradle.yml
@@ -163,11 +163,12 @@ jobs:
163
sed -i 's|lehojun/studylink:.*|lehojun/studylink:${{ env.TAG }}|g' docker-compose.yml
164
165
# Deploy with no downtime
166
- sudo docker-compose up -d --no-deps --force-recreate app
167
-
168
- # Check if container is running properly
+ sudo docker-compose up -d --no-deps --force-recreate studylink-app
+
169
+ # Check if container is running properly
170
sleep 10
- if [ "$(sudo docker ps -q -f name=app)" ]; then
171
+ if [ "$(sudo docker ps -q -f name=studylink-app)" ]; then
172
echo "Deployment successful"
173
# Tag successful deployment in a file for reference
174
echo "${{ env.TAG }}" > /home/ubuntu/last_successful_deploy
0 commit comments