mirror of
https://git.mirrors.martin98.com/https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-15 10:15:56 +08:00
Fixed folder name
This commit is contained in:
parent
8bc5b0029a
commit
97706cc752
10
.github/workflows/publish_docs_to_wiki.yml
vendored
10
.github/workflows/publish_docs_to_wiki.yml
vendored
@ -10,8 +10,8 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
USER_TOKEN: ${{ secrets.WIKI_ACTION_TOKEN }} # This is the repository secret
|
USER_TOKEN: ${{ secrets.WIKI_ACTION_TOKEN }} # This is the repository secret
|
||||||
USER_NAME: stupid-deploy-bot # Enter the username of your (bot) account
|
USER_NAME: 'stupid-deploy-bot' # Enter the username of your (bot) account
|
||||||
USER_EMAIL: 76802126+stupid-deploy-bot@users.noreply.github.com # Enter the e-mail of your (bot) account
|
USER_EMAIL: '76802126+stupid-deploy-bot@users.noreply.github.com' # Enter the e-mail of your (bot) account
|
||||||
OWNER: ${{ github.event.repository.owner.name }} # This is the repository owner
|
OWNER: ${{ github.event.repository.owner.name }} # This is the repository owner
|
||||||
REPOSITORY_NAME: ${{ github.event.repository.name }} # This is the repository name
|
REPOSITORY_NAME: ${{ github.event.repository.name }} # This is the repository name
|
||||||
|
|
||||||
@ -34,12 +34,12 @@ jobs:
|
|||||||
git config user.name $USER_NAME
|
git config user.name $USER_NAME
|
||||||
git config user.email $USER_EMAIL
|
git config user.email $USER_EMAIL
|
||||||
git pull https://$USER_TOKEN@github.com/$OWNER/$REPOSITORY_NAME.wiki.git
|
git pull https://$USER_TOKEN@github.com/$OWNER/$REPOSITORY_NAME.wiki.git
|
||||||
# 4. Synchronize differences between `docs` & `tmp_wiki`
|
# 4. Synchronize differences between `doc` & `tmp_wiki`
|
||||||
# 5. Push new Wiki content
|
# 5. Push new Wiki content
|
||||||
- name: Push content to wiki
|
- name: Push content to wiki
|
||||||
run: |
|
run: |
|
||||||
rsync -av --delete docs/ tmp_wiki/ --exclude .git
|
rsync -av --delete doc/ tmp_wiki/ --exclude .git
|
||||||
cd tmp_wiki
|
cd tmp_wiki
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Update Wiki content"
|
git commit -m "Updated Wiki content"
|
||||||
git push -f --set-upstream https://$USER_TOKEN@github.com/$OWNER/$REPOSITORY_NAME.wiki.git master
|
git push -f --set-upstream https://$USER_TOKEN@github.com/$OWNER/$REPOSITORY_NAME.wiki.git master
|
@ -33,4 +33,3 @@ then build it using command
|
|||||||
or building it under the Visual Studio 2019
|
or building it under the Visual Studio 2019
|
||||||
(set the OrcaSlicer_app_gui as start project)
|
(set the OrcaSlicer_app_gui as start project)
|
||||||

|

|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user