Skip to content

Commit

Permalink
fix: test
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelHillcox committed Mar 25, 2024
1 parent d221b38 commit 8ac850b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/meta-updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,14 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
CURSEFORGE_TOKEN: ${{ secrets.CURSEFORGE_TOKEN }}
# Commit any changes back to the project
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Michael Hillcox"
- run: git add .
# Check if there are any changes to commit
- run: git diff --quiet --exit-code || git commit -m "Update things"
- run: git remote set-url origin "https://michaelhillcox:${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}"
- name: Commit changes
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
- run: git push
run: |
git config --global user.email "[email protected]"
git config --global user.name "Michael Hillcox"
git add .
git status
ls -la
git diff --quiet --exit-code || git commit -m "Update things"
git push

0 comments on commit 8ac850b

Please sign in to comment.