From cd8245202f2cbe8140d4f33de439b20fb6719df3 Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Wed, 19 Jun 2024 11:43:13 +0200 Subject: [PATCH] ci: add woodpecker workflow for building frontend Signed-off-by: Christoph Heiss --- .woodpecker/frontend.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .woodpecker/frontend.yaml diff --git a/.woodpecker/frontend.yaml b/.woodpecker/frontend.yaml new file mode 100644 index 0000000..7e18d01 --- /dev/null +++ b/.woodpecker/frontend.yaml @@ -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/