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: on:
workflow_dispatch: workflow_dispatch:
push: # push:
branches: # branches:
- master # - master
schedule: schedule:
- cron: '0 16 * * *' - cron: '0 16 * * *'
jobs: 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: # mirror_to_gitee:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps:
@ -22,19 +35,6 @@ jobs:
# ssh_private_key: # ssh_private_key:
# ${{ secrets.GITEE_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: # mirror_to_gitlab:
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps:

Loading…
Cancel
Save