name: "Frontend: Build & Deploy to Netlify" on: workflow_dispatch: pull_request: paths: - "flake.nix" - "flake.lock" - "frontend/**" - "VERSION" push: branches: - main jobs: build-and-deploy: runs-on: nixos-unstable steps: - name: Checking out the repository uses: actions/checkout@v4 - name: Enable flakes run: | echo 'experimental-features = nix-command flakes' >>/etc/nix/nix.conf - name: Building search.nixos.org run: | nix -vL build .#frontend mkdir ./dist cp -RL ./result/* ./dist/