Edited workflow file

This commit is contained in:
molangning
2023-11-26 12:38:13 +08:00
parent c69ad6dd2a
commit d4fb162d19
92 changed files with 1858964 additions and 2 deletions
@@ -19,11 +19,11 @@ jobs:
run: |
git add -N .
if [ -z "$(git ls-files --modified sources/)" ]; then
if [ -z "$(git ls-files --modified)" ]; then
echo "[+] No files were changed"
else
echo "[+] Files were changed! Pushing changed..."
git stage sources/
git add -A
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
git config --local user.email "example@github.com"
git config --local user.name "GitHub Action"