ci: add woodpecker workflow for building frontend
All checks were successful
ci/woodpecker/push/frontend Pipeline was successful
All checks were successful
ci/woodpecker/push/frontend Pipeline was successful
Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
parent
12e7174057
commit
ebdc89c63f
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: docker.io/nixos/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