ci: build Python docs with Nix

This commit is contained in:
link2xt
2024-03-01 02:00:53 +00:00
parent 1d73f97ef3
commit 4e5d7fb821
3 changed files with 4 additions and 16 deletions

View File

@@ -14,13 +14,15 @@ jobs:
with:
show-progress: false
fetch-depth: 0 # Fetch history to calculate VCS version number.
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Build Python documentation
run: scripts/build-python-docs.sh
run: nix build .#python-docs
- name: Upload to py.delta.chat
uses: up9cloud/action-rsync@v1.3
env:
USER: delta
KEY: ${{ secrets.CODESPEAK_KEY }}
HOST: "lists.codespeak.net"
SOURCE: "dist/html/"
SOURCE: "result/html/"
TARGET: "/home/delta/build/master"