This repository was archived by the owner on Sep 27, 2025. It is now read-only.
flake.lock: Update #4
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: "github pages" | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| actions: read | |
| contents: read | |
| pages: write | |
| id-token: write | |
| deployments: write | |
| concurrency: | |
| group: "github pages" | |
| cancel-in-progress: false | |
| jobs: | |
| build: | |
| name: Build search | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Nix | |
| uses: cachix/install-nix-action@v30 | |
| - uses: DeterminateSystems/magic-nix-cache-action@v8 | |
| with: | |
| diagnostic-endpoint: false | |
| use-flakehub: false | |
| - name: Build search | |
| run: nix build -L | |
| - name: Upload artifact | |
| uses: actions/upload-pages-artifact@v3 | |
| with: | |
| path: result | |
| deploy: | |
| name: Deploy to GitHub Pages | |
| runs-on: ubuntu-latest | |
| needs: build | |
| steps: | |
| - name: Deploy to GitHub Pages | |
| id: deployment | |
| uses: actions/deploy-pages@v4 | |
| if: github.event_name == 'push' |