We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8e5c8b2 commit c906404Copy full SHA for c906404
1 file changed
.github/workflows/deploy.yml
@@ -36,16 +36,16 @@ jobs:
36
push: true
37
tags: ${{ env.FRONTEND_IMAGE }}:latest
38
39
- - name: Deploy to EC2
+ - name: Deploy to EC2
40
uses: appleboy/ssh-action@v1
41
with:
42
host: ${{ secrets.EC2_HOST }}
43
username: ${{ secrets.EC2_USER }}
44
key: ${{ secrets.EC2_SSH_KEY }}
45
- # Increase timeout to handle the "channel open failed" errors
46
timeout: 60s
47
script: |
48
cd ~/MERN-CHAT-APP
49
docker-compose pull
+ sleep 5
50
docker-compose up -d --remove-orphans
51
docker image prune -f
0 commit comments