From ebdc89c63f31053c7482b6e8a01611d41ae9eccf Mon Sep 17 00:00:00 2001 From: Christoph Heiss Date: Wed, 19 Jun 2024 15:26:20 +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..81bf77b --- /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: docker.io/nixos/nix + environment: + NIX_CONFIG: 'experimental-features = nix-command flakes' + commands: + - nix -vL build .#frontend + - mkdir ./dist + - cp -RL ./result/* ./dist/