From 35d15d82bc3e1cc7967cb42dacf34ff9a4ba3e3a Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Wed, 19 Jun 2024 13:18:35 +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..c2c4b60 --- /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/git/nix + environment: + NIX_CONFIG: 'experimental-features = nix-command flakes' + commands: + - nix -vL build .#frontend + - mkdir ./dist + - cp -RL ./result/* ./dist/