filename and script
This commit is contained in:
parent
eba0cf119f
commit
623677eeb8
1 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,10 @@
|
||||||
name: "Build"
|
name: "Build"
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
push:
|
||||||
|
branches: ["main"]
|
||||||
|
paths:
|
||||||
|
- .forgejo/workflows/build.yaml
|
||||||
jobs:
|
jobs:
|
||||||
nix-build:
|
nix-build:
|
||||||
if: github.event.pull_request.draft == false
|
if: github.event.pull_request.draft == false
|
||||||
|
@ -50,4 +54,4 @@ jobs:
|
||||||
if: success()
|
if: success()
|
||||||
env:
|
env:
|
||||||
CACHIX_ACTIVATE_TOKEN: ${{ secrets.CACHIX_ACTIVATE_TOKEN }}
|
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
|
||||||
|
|
Loading…
Reference in a new issue