From 9234f753e3bc89f0a4a8a2a646886a8a4144472b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Ferdinand?= <32671211+Ferdinand99@users.noreply.github.com> Date: Sat, 12 Jul 2025 15:41:35 +0200 Subject: [PATCH] Update sync-to-forgejo.yml --- .github/workflows/sync-to-forgejo.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sync-to-forgejo.yml b/.github/workflows/sync-to-forgejo.yml index 330f397..a304f3c 100644 --- a/.github/workflows/sync-to-forgejo.yml +++ b/.github/workflows/sync-to-forgejo.yml @@ -15,10 +15,12 @@ jobs: with: fetch-depth: 0 # Henter hele repoet, ikke bare siste commit - - name: Push to Forgejo + - name: Configure Git run: | git config --global user.name "GitHub Actions" git config --global user.email "actions@github.com" + - name: Push to Forgejo + run: | git remote add forgejo https://Ferdinand99:${{ secrets.FORGEJO_TOKEN }}@git.opland.net/Ferdinand99/home-assistant-newt-addon.git - git push forgejo main + git push --force forgejo main