filename and script

This commit is contained in:
Joseph Hanson 2024-07-25 08:25:40 -05:00
parent eba0cf119f
commit 623677eeb8
Signed by: jahanson
SSH key fingerprint: SHA256:vy6dKBECV522aPAwklFM3ReKAVB086rT3oWwiuiFG7o

View file

@ -1,6 +1,10 @@
name: "Build"
on:
pull_request:
push:
branches: ["main"]
paths:
- .forgejo/workflows/build.yaml
jobs:
nix-build:
if: github.event.pull_request.draft == false
@ -50,4 +54,4 @@ jobs:
if: success()
env:
CACHIX_ACTIVATE_TOKEN: ${{ secrets.CACHIX_ACTIVATE_TOKEN }}
run: nix build ".#top.${{ matrix.system }}" --json | jq -r .[].drvPath | cachix deploy activate
run: nix build ".#top.fj-shadowfax-01" --json | jq -r .[].drvPath | cachix deploy activate