diff --git a/.github/workflows/sync_project.yml b/.github/workflows/sync_project.yml index a7ac2c1..53d5bf5 100644 --- a/.github/workflows/sync_project.yml +++ b/.github/workflows/sync_project.yml @@ -2,13 +2,26 @@ name: 'GitHub Actions Mirror' on: workflow_dispatch: - push: - branches: - - master +# push: +# branches: +# - master schedule: - cron: '0 16 * * *' jobs: + mirror_to_bitbucket: + runs-on: ubuntu-latest + steps: + - name: 'Checkout' + uses: actions/checkout@v1 + - name: 'Mirror to bitbucket' + uses: pixta-dev/repository-mirroring-action@v1 + with: + target_repo_url: + git@bitbucket.org:fscarmen/test.git + ssh_private_key: + ${{ secrets.PRIVATE_KEY }} +# # mirror_to_gitee: # runs-on: ubuntu-latest # steps: @@ -22,19 +35,6 @@ jobs: # ssh_private_key: # ${{ secrets.GITEE_KEY }} # - mirror_to_bitbucket: - runs-on: ubuntu-latest - steps: - - name: 'Checkout' - uses: actions/checkout@v1 - - name: 'Mirror to bitbucket' - uses: pixta-dev/repository-mirroring-action@v1 - with: - target_repo_url: - git@bitbucket.org:fscarmen/test.git - ssh_private_key: - ${{ secrets.PRIVATE_KEY }} - # mirror_to_gitlab: # runs-on: ubuntu-latest # steps: