From 8c01ec61e6ad87198ec8c38efb434682987fb26a Mon Sep 17 00:00:00 2001 From: SMFSW Date: Thu, 1 May 2025 23:33:00 +0200 Subject: [PATCH] Create bitbucket-push.yml Setting up mirroring to bitbucket repository --- .github/workflows/bitbucket-push.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/bitbucket-push.yml diff --git a/.github/workflows/bitbucket-push.yml b/.github/workflows/bitbucket-push.yml new file mode 100644 index 0000000..8139d47 --- /dev/null +++ b/.github/workflows/bitbucket-push.yml @@ -0,0 +1,22 @@ +name: Mirror Github repository to BitBucket + +on: [push] + +jobs: + + update_bitbucket_mirror: + name: update_bitbucket_mirror + + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 # <-- clone with complete history + - name: Push + uses: heussd/mirror-to-bitbucket-github-action@v2 + with: + username: SMFSW + repository: ci2c + password: ${{ secrets.BITBUCKET_PASSWORD }}