Update from copier (2025-08-17T05:02:23) #20
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 | ||
| workflow_dispatch: | ||
| permissions: | ||
| contents: write | ||
| jobs: | ||
| docs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v5 | ||
| - uses: actions-ext/python/setup@main | ||
| <<<<<<< before updating | ||
| - run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y libldap2-dev libssl-dev libsasl2-dev | ||
| - run: uv pip install . | ||
| ======= | ||
| - run: uv pip install .[develop] | ||
| >>>>>>> after updating | ||
| - run: uv pip install yardang | ||
| - run: yardang build | ||
| - uses: peaceiris/actions-gh-pages@v4 | ||
| with: | ||
| publish_branch: gh-pages | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| publish_dir: docs/html | ||