Doc specifica tecnica simulator backend #910
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
| name: "PR Checks: Validate & Preview" | |
| on: | |
| pull_request: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| validate-and-build: | |
| runs-on: ubuntu-latest | |
| container: | |
| image: ghcr.io/notipswe/notip-docs-dev:v0.0.1 | |
| steps: | |
| - name: Checkout PR branch | |
| uses: actions/checkout@v4 | |
| with: | |
| # We need fetch-depth: 0 to get all history for git diff | |
| fetch-depth: 0 | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup-docs-env | |
| - name: Validate document changes (without --merge-ready) | |
| run: | | |
| notipdo check pr | |
| - name: Build docs from PR | |
| run: | | |
| notipdo build changes | |
| - name: Upload Build Artifacts (PDFs) | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pr-docs-preview | |
| path: dist/docs/ | |
| retention-days: 7 |