From cc0073657d426fb660e711106048240fcef7916a Mon Sep 17 00:00:00 2001 From: Brad Date: Thu, 21 Nov 2024 09:21:02 -0600 Subject: [PATCH] Backup: Bitbucket Syncing Init --- .../workflows/github-action-mirror-sync.yml | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/github-action-mirror-sync.yml diff --git a/.github/workflows/github-action-mirror-sync.yml b/.github/workflows/github-action-mirror-sync.yml new file mode 100644 index 0000000..48a4537 --- /dev/null +++ b/.github/workflows/github-action-mirror-sync.yml @@ -0,0 +1,27 @@ +name: Sync repository to mirrors + +on: + push: + tags-ignore: + - '*' + branches: + - '*' + +jobs: + sync: + runs-on: ubuntu-24.04 + steps: + - name: Checkout repository + id: checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + + - name: Sync up to Bitbucket + id: bitbucket + uses: quantran-novobi/sync-up-to-bitbucket-action@v1 + with: + bitbucket_repository_name: brs-psp-research-initiative + bitbucket_workspace_name: brs-psp-research-initiative + bitbucket_access_token: ${{ secrets.BITBUCKET_ACCESS_TOKEN }} +