Merge pull request #5 from FlexConfirmMail/add-ms365-certification-file #82
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
| on: | |
| push: | |
| branches: [main] | |
| name: Build & Deploy static website | |
| jobs: | |
| deploy: | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Build | |
| run: | | |
| sudo apt install python3-pip python3-venv | |
| python3 -m venv venv | |
| source ./venv/bin/activate | |
| python3 -m pip install -U Sphinx pydata-sphinx-theme | |
| make docs | |
| - name: Git Push | |
| run: | | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| git add docs | |
| git commit -m 'Auto-commit by GitHub Actions' && git push origin main || true |