This commit is contained in:
Viren070
2024-11-06 19:24:07 +00:00
parent 78dc059ac6
commit 17778686f1
+4 -7
View File
@@ -36,13 +36,10 @@ jobs:
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
# Create or switch to the branch
if git show-ref --verify --quiet refs/heads/chore/update-currency-rates; then
git checkout chore/update-currency-rates
git pull origin chore/update-currency-rates
else
git checkout -b chore/update-currency-rates
fi
# Checkout a new branch
git checkout -b chore/update-currency-rates
git pull origin chore/update-currency-rates
# Add changes
git add static/currency_rates.json