fix build of manual

This commit is contained in:
ibizaman 2024-10-24 16:57:24 +02:00
parent 37ec10cc25
commit 8cbaf7a212
2 changed files with 24 additions and 5 deletions

View file

@ -44,6 +44,29 @@ jobs:
outputs:
check: ${{ steps.generate-matrix.outputs.dynamic_list }}
manual:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
extra-conf: "system-features = nixos-test benchmark big-parallel kvm"
- name: Setup Caching
uses: cachix/cachix-action@v14
with:
name: selfhostblocks
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Build
run: |
nix \
--print-build-logs \
--option keep-going true \
--show-trace \
build .#manualHtml
tests:
runs-on: ubuntu-latest
needs: [ "build-matrix" ]
@ -71,7 +94,7 @@ jobs:
if: ${{ always() }}
runs-on: ubuntu-latest
name: Final Results
needs: [ tests ]
needs: [ manual, tests ]
steps:
- run: |
result="${{ needs.tests.result }}"

View file

@ -2,7 +2,6 @@
name: Deploy docs
on:
pull_request:
push:
branches: ["main"]
workflow_dispatch:
@ -58,15 +57,12 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v3
if: success() && github.ref == 'refs/heads/main'
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
if: success() && github.ref == 'refs/heads/main'
with:
path: ./public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
if: success() && github.ref == 'refs/heads/main'