This commit is contained in:
polwex 2026-04-19 06:12:04 +07:00
parent d88355267a
commit 2c102ebb45
2 changed files with 9 additions and 14 deletions

View file

@ -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
View 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