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/