-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d221b38
commit 8ac850b
Showing
1 changed file
with
9 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |