mirror of
https://github.com/GAM-team/GAM.git
synced 2026-07-03 12:21:35 +00:00
Update pushwiki.yml
This commit is contained in:
11
.github/workflows/pushwiki.yml
vendored
11
.github/workflows/pushwiki.yml
vendored
@@ -24,19 +24,12 @@ jobs:
|
|||||||
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
|
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
|
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
|
||||||
|
|
||||||
- name: Where am I
|
|
||||||
run: |
|
|
||||||
echo "PWD"
|
|
||||||
pwd
|
|
||||||
echo "LS"
|
|
||||||
ls -al
|
|
||||||
|
|
||||||
- name: Overwrite all wiki files from main git to wiki git
|
- name: Overwrite all wiki files from main git to wiki git
|
||||||
run: |
|
run: |
|
||||||
# remove all wiki repo files so deletes work
|
# remove all wiki repo files so deletes work
|
||||||
rm -fv GAM.wiki/*.md
|
rm -fv GAM.wiki/*.md
|
||||||
# copy all files from git repo wiki folder
|
# copy all files from main GAM repo wiki folder
|
||||||
cp -fv wiki/*.md GAM.wiki/
|
cp -fv GAM/wiki/*.md GAM.wiki/
|
||||||
|
|
||||||
- name: Commit wiki changes
|
- name: Commit wiki changes
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user