m
This commit is contained in:
parent
d88355267a
commit
2c102ebb45
2 changed files with 9 additions and 14 deletions
|
|
@ -1,14 +0,0 @@
|
||||||
when:
|
|
||||||
- event: [pull_request, push]
|
|
||||||
|
|
||||||
steps:
|
|
||||||
checks:
|
|
||||||
image: nixos/nix:latest
|
|
||||||
commands:
|
|
||||||
- nix develop --accept-flake-config -c bun install --frozen-lockfile
|
|
||||||
- nix develop --accept-flake-config -c bun run lint
|
|
||||||
- nix develop --accept-flake-config -c bun run typecheck
|
|
||||||
- nix develop --accept-flake-config -c bun run build
|
|
||||||
- nix develop --accept-flake-config -c bun run update:bun-nix
|
|
||||||
- git diff --exit-code bun.nix
|
|
||||||
- nix build --accept-flake-config .#default
|
|
||||||
9
.woodpecker/job.yaml
Normal file
9
.woodpecker/job.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
- branch: master
|
||||||
|
|
||||||
|
steps:
|
||||||
|
deploy:
|
||||||
|
commands:
|
||||||
|
- sh ~/nixconf/update.sh
|
||||||
|
- nh os switch -H sortug ~/nixconf --target-host root@sortug
|
||||||
Loading…
Add table
Add a link
Reference in a new issue