Merge pull request #21 from open-eid/update #29
This file contains hidden or 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: Github Pages | |
| on: | |
| push: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: python3 -m pip install mkdocs-bootswatch | |
| - name: Build docs | |
| run: | | |
| GLOBIGNORE=ID_software_architecture_files:README.md:.git:.github | |
| rm -rf * | |
| cd ID_software_architecture_files | |
| mkdocs build | |
| mv site/* .. | |
| rmdir site | |
| - name: Deploy | |
| run: | | |
| git config --local user.name 'github-actions[bot]' | |
| git config --local user.email 'github-actions[bot]@users.noreply.github.com' | |
| git add . | |
| git commit -am "Update site" | |
| git push origin master |