From 31486c0e2d64572dc6ef020a9c2580e654de0817 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 21 Jul 2024 12:21:19 +0200 Subject: [PATCH] try to fix the git push frogejo action --- .forgejo/workflows/nix_build.yaml | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/nix_build.yaml b/.forgejo/workflows/nix_build.yaml index b828bad..9a1015e 100644 --- a/.forgejo/workflows/nix_build.yaml +++ b/.forgejo/workflows/nix_build.yaml @@ -17,15 +17,8 @@ jobs: with: depth: 0 - - name: checkout repository (branch update) - if: github.event_name == 'schedule' - uses: actions/checkout@v2 - with: - ref: "update" - depth: 0 - - - name: update nix flakes (branch update) - if: github.event_name == 'schedule' + - name: update nix flakes + #if: github.event_name == 'schedule' run: | cat < .ssh_key ${{ secrets.SSH_KEY }} @@ -71,7 +64,7 @@ jobs: run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel - name: push if all fine (branch update) - if: github.event_name == 'schedule' + #if: github.event_name == 'schedule' run: | git config --local user.email "action@git.ingolf-wagner.de"