From db507301a1960a81e65e539d93b92db2494a7fae Mon Sep 17 00:00:00 2001 From: Antigravity Agent Date: Sat, 30 May 2026 04:26:49 +0000 Subject: [PATCH] Add Bitbucket mirror to the Git Mesh --- .forgejo/workflows/cd.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.forgejo/workflows/cd.yaml b/.forgejo/workflows/cd.yaml index 39bfb4b4..0cec378d 100644 --- a/.forgejo/workflows/cd.yaml +++ b/.forgejo/workflows/cd.yaml @@ -46,6 +46,20 @@ jobs: echo "GITHUB_TOKEN secret not found. Skipping GitHub mirror." fi + - name: Mirror to Bitbucket + env: + BITBUCKET_USER: ${{ secrets.BITBUCKET_USER }} + BITBUCKET_TOKEN: ${{ secrets.BITBUCKET_TOKEN }} + run: | + if [ -n "$BITBUCKET_TOKEN" ]; then + git remote add bitbucket https://${BITBUCKET_USER}:${BITBUCKET_TOKEN}@bitbucket.org/mrhavens/${{ github.event.repository.name }}.git + git push --force --all bitbucket + git push --force --tags bitbucket + echo "Successfully mirrored to Bitbucket!" + else + echo "BITBUCKET_TOKEN secret not found. Skipping Bitbucket mirror." + fi + - name: Sync to Radicle Network run: | RAD_POD=$(kubectl get pods -n radicle -l app=radicle -o jsonpath="{.items[0].metadata.name}")