ci: add woodpecker workflow for building frontend
Some checks failed
ci/woodpecker/push/frontend Pipeline failed

Signed-off-by: Christoph Heiss <christoph@c8h4.io>
This commit is contained in:
Christoph Heiss 2024-06-19 11:43:13 +02:00
parent 12e7174057
commit cd8245202f
Signed by: c8h4
GPG key ID: 6817E9C75C0785D7

19
.woodpecker/frontend.yaml Normal file
View 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
environment:
NIX_CONFIG: 'experimental-features = nix-command flakes'
commands:
- nix -vL build .#frontend
- mkdir ./dist
- cp -RL ./result/* ./dist/