bin/stack-config: avoid .venv arch conflicts by having separate venvs… #157
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 | |
| jobs: | |
| deploy: | |
| if: github.repository == 'eth-cscs/stackinator' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set up Python | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: 3.12 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| - name: Install Dependencies | |
| run: uv sync --group docs | |
| # TODO is it needed to cleanup site folder? | |
| - run: rm -rf site | |
| - name: Deploy Docs | |
| run: | | |
| uv run mkdocs gh-deploy --force | |
| uv run mkdocs --version |