fix build of manual
This commit is contained in:
parent
37ec10cc25
commit
8cbaf7a212
2 changed files with 24 additions and 5 deletions
25
.github/workflows/build.yaml
vendored
25
.github/workflows/build.yaml
vendored
|
|
@ -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 }}"
|
||||
|
|
|
|||
4
.github/workflows/pages.yml
vendored
4
.github/workflows/pages.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in a new issue