Merge pull request #414 from bsv-blockchain/TOB-24 #83
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 Documentation | |
| on: | |
| push: | |
| branches: [master] | |
| workflow_dispatch: | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy: | |
| # Add repository check to ensure it only runs on main repo | |
| if: github.repository == 'bsv-blockchain/ts-sdk' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Setup Python | |
| uses: actions/setup-python@v4 | |
| with: | |
| python-version: 3.x | |
| - name: Install MkDocs | |
| run: pip install mkdocs-material mkdocs-minify-plugin | |
| - name: Deploy to GitHub Pages | |
| run: mkdocs gh-deploy --force |