Rename PinSignature to IOSignature #210
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
| # .github/workflows/preview.yml | |
| name: Deploy PR previews | |
| concurrency: preview-${{ github.ref }} | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - reopened | |
| - synchronize | |
| - closed | |
| jobs: | |
| deploy-preview: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup PDM | |
| uses: pdm-project/setup-pdm@v4 | |
| with: | |
| python-version: 3.12 | |
| cache: true | |
| - name: Generate overrides to use current branch if PR | |
| if: github.event_name == 'pull_request' | |
| run: | | |
| pdm run tools/gen_overrides.py ${{github.head_ref}} > overrides.txt | |
| echo "Generated overrides:" | |
| cat overrides.txt | |
| - name: Relock PDM | |
| if: github.event_name != 'pull_request' | |
| run: pdm lock -d | |
| - name: Relock PDM (PR) | |
| if: github.event_name == 'pull_request' | |
| run: pdm lock -d --override overrides.txt | |
| - name: Install dependencies | |
| run: pdm install | |
| - name: Build docs | |
| run: pdm docs | |
| if: github.event.action != 'closed' | |
| - uses: rossjrw/pr-preview-action@v1 | |
| with: | |
| source-dir: docs/_build | |
| preview-branch: gh-pages | |
| umbrella-dir: pr-preview | |
| action: auto | |
| pages-base-url: chipflow-lib.docs.chipflow-infra.com |