mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-03 22:01:39 +00:00
Update pushwiki.yml
This commit is contained in:
16
.github/workflows/pushwiki.yml
vendored
16
.github/workflows/pushwiki.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user