setup github action to update wiki weekly as well

This commit is contained in:
Bin Yang
2021-03-31 17:07:14 -04:00
parent 64f9ec4adf
commit a9f0c64c74
20 changed files with 410 additions and 174 deletions
+12 -1
View File
@@ -33,7 +33,18 @@ jobs:
env:
GIT_TOKEN: ${{ secrets.GIT_TOKEN }}
- name: execute py script # run the run.py to get the latest data
run: |
python wiki_gen.py
- name: Commit & Push changes
uses: actions-js/push@master
with:
github_token: ${{ secrets.GIT_TOKEN }}
github_token: ${{ secrets.GIT_TOKEN }}
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "generated_wiki"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}