From 1b9fecea98a3d0acfe0b878c8da56adf226966e9 Mon Sep 17 00:00:00 2001 From: Christoffer Martinsson Date: Wed, 26 Nov 2025 17:55:28 +0100 Subject: [PATCH] Fix nixosbox file path in release workflow Correct path from hosts/services/cm-dashboard.nix to services/cm-dashboard.nix --- .gitea/workflows/release.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index 3ee29cb..8b0656c 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -113,13 +113,13 @@ jobs: NIX_HASH="sha256-$(python3 -c "import base64, binascii; print(base64.b64encode(binascii.unhexlify('$NEW_HASH')).decode())")" # Update the NixOS configuration - sed -i "s|version = \"v[^\"]*\"|version = \"$VERSION\"|" hosts/services/cm-dashboard.nix - sed -i "s|sha256 = \"sha256-[^\"]*\"|sha256 = \"$NIX_HASH\"|" hosts/services/cm-dashboard.nix - + sed -i "s|version = \"v[^\"]*\"|version = \"$VERSION\"|" services/cm-dashboard.nix + sed -i "s|sha256 = \"sha256-[^\"]*\"|sha256 = \"$NIX_HASH\"|" services/cm-dashboard.nix + # Commit and push changes git config user.name "Gitea Actions" git config user.email "actions@gitea.cmtec.se" - git add hosts/services/cm-dashboard.nix + git add services/cm-dashboard.nix git commit -m "Auto-update cm-dashboard to $VERSION - Update version to $VERSION with automated release