Update sync_project.yml

dependabot/github_actions/actions/checkout-3.1.0
fscarmen 3 years ago committed by GitHub
parent abdd4f27e2
commit 22728dd4d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 32
      .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:

Loading…
Cancel
Save