Skip to content

Commit

Permalink
fixed workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
anfal17 committed Oct 2, 2024
1 parent 4877df3 commit 61a72d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
host: your-ec2-public-ip
username: ec2-user
key: ${{ secrets.EC2_SSH_KEY }}
script:
script: |
# Stop and remove the existing container if it exists
docker stop react-app || true
docker rm react-app || true
Expand Down

0 comments on commit 61a72d2

Please sign in to comment.