diff --git a/.woodpecker.yml b/.woodpecker.yml deleted file mode 100644 index 28ba8f5..0000000 --- a/.woodpecker.yml +++ /dev/null @@ -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 diff --git a/.woodpecker/job.yaml b/.woodpecker/job.yaml new file mode 100644 index 0000000..c0ffef9 --- /dev/null +++ b/.woodpecker/job.yaml @@ -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