From 6cef9d9434406fa62789a5c9a9432be6e9777b19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Sat, 12 Aug 2023 15:00:51 +0100 Subject: [PATCH] add gitea workflows --- .gitea/workflows/build.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..bd8be11 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,25 @@ +name: build and publish + +on: push +env: + DEV_SHELL_NAME: CI +jobs: + check_config: + runs-on: flakes-action + steps: + - uses: actions/checkout@v3 + name: Checkout + - name: Metadata + run: | + nix flake metadata + - name: Statix + run: | + nix develop -c statix check + - name: Flake check + run: | + nix flake check + build: + runs-on: flakes-action + steps: + - run: | + nix develop -c hugo --gc --minify \ No newline at end of file