Update documentation and version for PicoScope 5000D support (#171) #31
Workflow file for this run
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
| # Copyright (C) 2025-2025 Pico Technology Ltd. See LICENSE file for terms. | |
| # This is a basic workflow that is manually triggered | |
| name: mkdocs deploy | |
| # Controls when the action will run. Workflow runs when manually triggered using the UI | |
| # or API. | |
| on: | |
| workflow_dispatch: | |
| push: | |
| tags: | |
| - v* | |
| permissions: | |
| contents: write | |
| jobs: | |
| mkdocs-deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4.2.2 | |
| - name: Install python and mkdocs | |
| uses: actions/setup-python@v5.5.0 | |
| with: | |
| python-version: "3.12" | |
| - name: Install dependancies | |
| run: | | |
| pip install -r docs/requirements.txt | |
| - name: Setup git | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| - name: Deploy mkdocs | |
| run: | | |
| cd docs | |
| mkdocs gh-deploy --force | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |