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 4c70007 commit 89e7520Copy full SHA for 89e7520
.github/workflows/deploy.yml
@@ -25,7 +25,7 @@ jobs:
25
username: ${{ secrets.VPS_USER }}
26
key: ${{ secrets.VPS_SSH_KEY }}
27
script: |
28
- cd /home/${{ secrets.VPS_USER }}/webdev-bot
+ cd /home/${{ secrets.VPS_USER }}/webdev-bot-deploy
29
30
# Stash any local changes
31
git stash push -m "Auto-deploy $(date)" 2>/dev/null || true
@@ -42,11 +42,11 @@ jobs:
42
EOF
43
44
# Stop any existing containers
45
- docker-compose down || true
+ docker compose down || true
46
47
# Build and start production container with profile
48
- docker-compose --profile prod up -d --build
+ docker compose --profile prod up -d --build
49
50
# Check status
51
echo "Deployment completed. Container status:"
52
- docker-compose ps
+ docker compose ps
0 commit comments