From 2700c8af534dcbd2b4a5699d4d7683010c920f23 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Sun, 21 Jul 2024 17:24:26 -0400 Subject: [PATCH] github: remove fetchgit update from flake update workflow --- .github/workflows/flake-update.yml | 5 ----- update_fetchgit.sh | 4 ++++ 2 files changed, 4 insertions(+), 5 deletions(-) create mode 100644 update_fetchgit.sh diff --git a/.github/workflows/flake-update.yml b/.github/workflows/flake-update.yml index 4daecac6..c049d954 100644 --- a/.github/workflows/flake-update.yml +++ b/.github/workflows/flake-update.yml @@ -17,11 +17,6 @@ jobs: git config --local user.email "github-actions[bot]@users.noreply.github.com" - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - - name: Update fetchGit repos - run: | - nix run nixpkgs#update-nix-fetchgit -- homeManagerModules/desktop/default.nix - nix run nixpkgs#update-nix-fetchgit -- homes/aly/firefox/default.nix - nix run nixpkgs#update-nix-fetchgit -- homes/aly/mail/default.nix - uses: DeterminateSystems/update-flake-lock@main with: token: ${{ secrets.FLAKE_UPDATE_PAT }} diff --git a/update_fetchgit.sh b/update_fetchgit.sh new file mode 100644 index 00000000..7af01029 --- /dev/null +++ b/update_fetchgit.sh @@ -0,0 +1,4 @@ +#1/bin/bash +nix run nixpkgs#update-nix-fetchgit -- homeManagerModules/desktop/default.nix +nix run nixpkgs#update-nix-fetchgit -- homes/aly/firefox/default.nix +nix run nixpkgs#update-nix-fetchgit -- homes/aly/mail/default.nix