Add Bitbucket mirror to the Git Mesh

This commit is contained in:
Antigravity Agent
2026-05-30 04:26:49 +00:00
parent 87e8c8d6e4
commit db507301a1
+14
View File
@@ -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}")