Skip to content

Commit

Permalink
feat: add git reset if repo exists
Browse files Browse the repository at this point in the history
  • Loading branch information
Th0rgal committed Apr 15, 2024
1 parent 5abaef6 commit 784d17d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/testnet_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ jobs:
echo "Repository exists, pulling changes..."
cd \$REPO_PATH
sudo docker-compose down
git reset --hard HEAD
git pull
else
echo "Repository doesn't exist, cloning..."
Expand Down

0 comments on commit 784d17d

Please sign in to comment.