chore(deps): bump dompurify from 3.2.1 to 3.3.1 in /lib/openapi-viewer #6883
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: Preview docs.sekoia.io | |
| on: | |
| pull_request: | |
| jobs: | |
| build: | |
| name: Preview docs.sekoia.io | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout main | |
| uses: actions/checkout@v6 | |
| - name: Setup Python | |
| uses: actions/setup-python@v6 | |
| id: setup-python | |
| with: | |
| python-version: '3.14' | |
| - name: Add “preview” banner | |
| run: | | |
| mv theme/main_preview.html theme/main.html | |
| - name: Make destination directory for compiled CSS | |
| run: mkdir -vp docs/stylesheets/ | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| enable-cache: true | |
| - name: Build site | |
| run: | | |
| uv run python -m mkdocs build --strict | |
| - name: Save PR number | |
| run: | | |
| echo ${{ github.event.number }} > ./site/.pr_number | |
| - run: | | |
| tar zcvf site.tar.gz -C site . | |
| - uses: actions/upload-artifact@v4 | |
| with: | |
| name: site.tar.gz | |
| path: site.tar.gz |