fix wrong branch #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Wiki Deploy | |
on: | |
push: | |
branches: | |
- wiki | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material | |
- run: mkdocs build | |
- name: Move Files | |
run: | | |
rm -rf ./wiki | |
mv ./site ./wiki | |
rm -rf ./site | |
- name: Commit & Push Changes | |
run: | | |
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com | |
git config --global user.name github-actions[bot] | |
git checkout docs | |
git pull | |
git add . | |
git commit -m "update documentation" | |
git push |