From 1e3c12a9023247895c66da01bf59dc79221a224c Mon Sep 17 00:00:00 2001 From: dzmitry-lahoda Date: Thu, 16 Nov 2023 18:09:08 +0000 Subject: [PATCH] build --- .github/workflows/main.yml | 11 ++++++++--- .gitignore | 1 + 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c7953533..fc2136a4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,10 +1,14 @@ on: push: - tags: - - "*.*.*" + branches: + - "main" jobs: publish: runs-on: "ubuntu-latest" + concurrency: + cancel-in-progress: true + group: "main" + permissions: id-token: "write" contents: "read" @@ -13,4 +17,5 @@ jobs: - uses: "DeterminateSystems/nix-installer-action@main" - uses: "DeterminateSystems/flakehub-push@main" with: - visibility: "public" \ No newline at end of file + visibility: "public" + - run: nix run .#ci | cachix push composable \ No newline at end of file diff --git a/.gitignore b/.gitignore index 2613cb15..b5f436cb 100644 --- a/.gitignore +++ b/.gitignore @@ -146,6 +146,7 @@ dist # Nix derivation output **/result/** +result # Nix shell file system overlay (like chroot but per repo) .devenv/**