Skip to content

Commit

Permalink
Remove force push from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfy76700 committed Dec 18, 2024
1 parent 890fb60 commit 96beee9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/update_assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
git add .
if ! git diff --cached --quiet; then
git commit -m "Optimize images"
git push --force origin main
git push origin main
else
echo "No changes to commit"
fi
Expand All @@ -63,7 +63,7 @@ jobs:
git add .
if ! git diff --cached --quiet; then
git commit -m "Add averages"
git push --force origin main
git push origin main
else
echo "No changes to commit"
fi
Expand All @@ -77,7 +77,7 @@ jobs:
git add .
if ! git diff --cached --quiet; then
git commit -m "Update version number of changed packs"
git push --force origin main
git push origin main
else
echo "No changes to commit"
fi
Expand All @@ -92,7 +92,7 @@ jobs:
git add .
if ! git diff --cached --quiet; then
git commit -m "Update startgg config insights"
git push --force origin main
git push origin main
else
echo "No changes to commit"
fi
Expand All @@ -114,7 +114,7 @@ jobs:
find . -name "*~" -type f -delete
git add assets.json last_versions.json scripts/last_tag.txt
git commit -m "Update assets"
git push --force origin main
git push origin main
set -x
assets=()
Expand Down

0 comments on commit 96beee9

Please sign in to comment.