From 4784251276ecc1e2f7317d1c3c95f50193a05b20 Mon Sep 17 00:00:00 2001 From: Dominic Wrege Date: Sat, 6 Jan 2024 22:13:28 +0100 Subject: [PATCH] use cachix.org cache --- .github/workflows/build-cache.yml | 11 ++++------- .gitignore | 1 + package.json | 6 ++++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-cache.yml b/.github/workflows/build-cache.yml index 058bf6d..81c92cc 100644 --- a/.github/workflows/build-cache.yml +++ b/.github/workflows/build-cache.yml @@ -1,10 +1,7 @@ -name: "Build" - +name: "Nix Cache" on: - workflow_dispatch: - push: - branches: - - main + release: + types: [published] jobs: build: runs-on: ubuntu-latest @@ -17,4 +14,4 @@ jobs: authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" pathsToPush: "result-parkfuchs" - run: | - nix build .#parkfuchs -o result-parkfuchs \ No newline at end of file + nix build .#parkfuchs -o result-parkfuchs diff --git a/.gitignore b/.gitignore index 26d6619..4d7d9a5 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,4 @@ android #nix result +result-* diff --git a/package.json b/package.json index 1fcd428..3ac5bc0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "parkfuchs", - "version": "1.6.12", + "version": "1.6.14", "private": true, "scripts": { "dev": "next dev", @@ -8,7 +8,9 @@ "start": "next start", "lint": "next lint" }, - "bin": {"parkfuchs": ".next/standalone/server.js"}, + "bin": { + "parkfuchs": ".next/standalone/server.js" + }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-brands-svg-icons": "^6.5.1",