setup separate workflow to generate wiki on every push

This commit is contained in:
Bin Yang
2021-04-02 15:10:44 -04:00
parent c5ba41e83c
commit 800be7b179
3 changed files with 39 additions and 13 deletions
-11
View File
@@ -33,18 +33,7 @@ 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 }}
- name: Upload Documentation to Wiki
uses: SwiftDocOrg/github-wiki-publish-action@v1
with:
path: "generated_wiki"
env:
GH_PERSONAL_ACCESS_TOKEN: ${{ secrets.GIT_TOKEN }}