diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..986f05c --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,31 @@ +name: 'GitHub Actions Mirror' + +on: + workflow_dispatch: + +jobs: + + mirror_to_gitlab: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + - name: 'Mirror to gitlab' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@gitlab.com:rwkgyg/acme-script.git + ssh_private_key: + ${{ secrets.private_key }} + mirror_to_bitbucket: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v3 + - name: 'Mirror to bitbucket' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@bitbucket.com:rwkgyg/acme-script.git + ssh_private_key: + ${{ secrets.private_key }}