Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
LuizCampedelli authored Sep 6, 2024
1 parent 2bc3c24 commit 5627b88
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 @@ -45,7 +45,7 @@ jobs:
# Check if the directory is already a git repository
if [ -d ".git" ]; then
echo "Existing repository found, removing it..."
rm -rf /home/ec2-user/app/* /home/ec2-user/app/.* 2> /dev/null || true
sudo rm -rf /home/ec2-user/app/* /home/ec2-user/app/.* 2> /dev/null || true
fi
# Clone the repository again
Expand Down

0 comments on commit 5627b88

Please sign in to comment.