diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6b5953c..cb7c0fd 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 }}" diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index aa7936d..16a4ffb 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -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'