Update pushwiki.yml

This commit is contained in:
Jay Lee
2025-04-09 14:31:44 -04:00
committed by GitHub
parent abb02f10dc
commit 7b97b18115

View File

@@ -14,11 +14,18 @@ jobs:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Clone the wiki repo
- uses: actions/checkout@master
with:
repository: GAM-team/GAM.wiki
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
- name: Where am I
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git clone https://github.com/GAM-team/GAM.wiki.git
echo "PWD"
pwd
echo "LS"
ls -al
- name: Overwrite all wiki files from main git to wiki git
run: |
@@ -35,5 +42,4 @@ jobs:
git add *.md
git commit -m "[no ci] Push Wiki changes"
git status
git push
# git push