ci: add woodpecker workflow for building frontend
Some checks failed
ci/woodpecker/push/frontend Pipeline failed
Some checks failed
ci/woodpecker/push/frontend Pipeline failed
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
12e7174057
commit
fa4821653b
19
.woodpecker/frontend.yaml
Normal file
19
.woodpecker/frontend.yaml
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
when:
|
||||
- event: push
|
||||
- event: pull_request
|
||||
path:
|
||||
- 'frontend/**'
|
||||
- flake.nix
|
||||
- flake.lock
|
||||
- VERSION
|
||||
|
||||
steps:
|
||||
- name: build
|
||||
image: nixery.dev/shell/nix
|
||||
environment:
|
||||
NIX_CONFIG: 'experimental-features = nix-command flakes'
|
||||
commands:
|
||||
- nix -vL build .#frontend
|
||||
- mkdir ./dist
|
||||
- cp -RL ./result/* ./dist/
|
Loading…
Reference in a new issue