From 0920e524d11e12505f52b414b565809cc457e3e1 Mon Sep 17 00:00:00 2001 From: Tempe Techie <95053628+tempe-techie@users.noreply.github.com> Date: Sun, 21 Apr 2024 19:48:36 +0200 Subject: [PATCH] Create mirror.yml --- .github/workflows/mirror.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .github/workflows/mirror.yml diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 0000000..eb11944 --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,33 @@ +name: Mirroring +on: + push: + branches: + - main +jobs: + to_bitbucket: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: # <-- must use actions/checkout before mirroring! + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@bitbucket.org:punk-domains/degen-name.git + ssh_private_key: # <-- use 'secrets' to pass credential information. + ${{ secrets.MIRROR_KEY }} + + to_gitlab: + runs-on: ubuntu-latest + timeout-minutes: 20 + steps: # <-- must use actions/checkout before mirroring! + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@gitlab.com:degen-dapps/degen-name.git + ssh_private_key: # <-- use 'secrets' to pass credential information. + ${{ secrets.MIRROR_KEY }} \ No newline at end of file