mirror of
https://github.com/Viren070/guides.git
synced 2025-12-01 23:16:16 +01:00
fix ci 4
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user