From 2a2b770405add665f75cb7709c78adaa7c6f1f36 Mon Sep 17 00:00:00 2001 From: Michael Chihlas Date: Tue, 14 Apr 2026 22:49:20 +0000 Subject: [PATCH] Update Github mirror workflow --- .gitea/workflows/mirror-to-github.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/mirror-to-github.yml b/.gitea/workflows/mirror-to-github.yml index 4ef9a3fa..5fc028bc 100644 --- a/.gitea/workflows/mirror-to-github.yml +++ b/.gitea/workflows/mirror-to-github.yml @@ -4,9 +4,6 @@ on: push: branches: - '**' - delete: - branches: - - '**' jobs: mirror: @@ -14,6 +11,8 @@ jobs: steps: - name: Push to GitHub run: | + cd /tmp + git clone --mirror https://gitea.resolutionflow.com/chihlasm/resolutionflow.git repo + cd repo git remote add github https://x-access-token:${{ secrets.GH_MIRROR_TOKEN }}@github.com/${{ secrets.GH_MIRROR_REPO }} - git push github --all --force - git push github --tags --force \ No newline at end of file + git push github --mirror --force \ No newline at end of file