Fixed an issue that WIKI action didn't work if it's manually triggered.

This commit is contained in:
SoftFever 2024-07-01 22:19:03 +08:00
parent c6205fa806
commit a0dae394e7

View file

@ -34,7 +34,7 @@ jobs:
run: |
git config --global user.name "$USER_NAME"
git config --global user.email "$USER_NAME"@users.noreply.github.com
git clone https://"$USER_TOKEN"@github.com/"$OWNER"/"$REPOSITORY_NAME".wiki.git tmp_wiki
git clone https://"$USER_TOKEN"@github.com/SoftFever/"$REPOSITORY_NAME".wiki.git tmp_wiki
# 4. Synchronize differences between `doc` & `tmp_wiki`
# 5. Push new Wiki content
- name: Push main repo content to wiki