Merge pull request #24 from soumik12345/feat/z-image #43
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: Publish Docs | |
| on: | |
| push: | |
| branches: | |
| - main | |
| permissions: | |
| contents: write | |
| id-token: write | |
| jobs: | |
| documentation: | |
| name: update documentations on gitHub pages | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 📥 Checkout the repository | |
| uses: actions/checkout@v5 | |
| - name: 🐍 Install uv | |
| uses: astral-sh/setup-uv@v7.1.1 | |
| with: | |
| python-version: 3.13.7 | |
| activate-environment: true | |
| - name: 💾 Cache dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| key: ${{ github.ref }} | |
| path: .cache | |
| - name: 📦 Install dependencies | |
| run: | | |
| uv pip install -r pyproject.toml --group docs | |
| - name: 📝 Deploy documentation | |
| run: uv run mkdocs gh-deploy --force |