deploy-website #6
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: deploy-website | |
| on: | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| wheels: | |
| name: Build and Deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: BrokenSource/BrokenSource@main | |
| name: Broken Setup | |
| - name: GitHub Actions Credentials | |
| run: | | |
| git config user.name github-actions[bot] | |
| git config user.email 41898282+github-actions[bot]@users.noreply.github.com | |
| git remote set-url origin "https://github.com/${GITHUB_REPOSITORY}.git" | |
| - name: Fetch gh-pages | |
| run: git submodule foreach --recursive 'git fetch origin gh-pages || true' | |
| - name: Build and Deploy | |
| run: uv run mkdocs gh-deploy -f ./Projects/Pianola/mkdocs.yml |