We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66eaf90 commit 4f3bba3Copy full SHA for 4f3bba3
1 file changed
.github/workflows/update.yml
@@ -76,9 +76,12 @@ jobs:
76
key: ${{ secrets.key }} # if run.py requires passwords..etc, set it as secrets
77
- name: Commit files # transfer the new html files back into the repository
78
run: |
79
- git config --local user.name "Update"
+ NAME="${{ secrets.COMMIT_NAME }}"
80
+ EMAIL="${{ secrets.COMMIT_EMAIL }}"
81
+ git config --local user.name "${NAME:-Update}"
82
+ git config --local user.email "${EMAIL:-users.noreply.github.com}"
83
git add .
- git commit -m "Updating the hosts files"
84
+ git commit -m "Updating the hosts files" || echo "No changes to commit"
85
- name: Push changes # push the output folder to your repo
86
uses: ad-m/github-push-action@master
87
with:
0 commit comments