Compare commits
2 commits
2c102ebb45
...
2a8804ca02
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a8804ca02 | |||
| d7ff9947e5 |
2 changed files with 52 additions and 0 deletions
26
.woodpecker/wtf
Normal file
26
.woodpecker/wtf
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: [pull_request, push]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
steps:
|
||||||
|
deploy:
|
||||||
|
image: nixos/nix:latest
|
||||||
|
commands:
|
||||||
|
- sudo -n /usr/local/libexec/deploy-sortug
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
- branch: master
|
||||||
26
.woodpecker/wtfisthis
Normal file
26
.woodpecker/wtfisthis
Normal file
|
|
@ -0,0 +1,26 @@
|
||||||
|
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
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: [pull_request, push]
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
steps:
|
||||||
|
deploy:
|
||||||
|
image: nixos/nix:latest
|
||||||
|
commands:
|
||||||
|
- sudo -n /usr/local/libexec/deploy-sortug
|
||||||
|
|
||||||
|
when:
|
||||||
|
- event: push
|
||||||
|
- branch: master
|
||||||
Loading…
Add table
Add a link
Reference in a new issue