fscarmen【Sing-box 全家桶】
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
test/.github/workflows/sync_project.yml

49 lines
1.3 KiB

name: 'GitHub Actions Mirror'
on:
workflow_dispatch:
push:
branches:
- master
schedule:
- cron: '0 16 * * *'
jobs:
# mirror_to_gitee:
# runs-on: ubuntu-latest
# steps:
# - name: 'Checkout'
# uses: actions/checkout@v3
# - name: 'Mirror to gitee'
# uses: pixta-dev/repository-mirroring-action@v1
# with:
# target_repo_url:
# git@gitee.com:valetzx/valetzx.gitee.io.git //这里填gitee仓库ssh地址
# ssh_private_key:
# ${{ secrets.GITEE_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.org:fscarmen/test.git
# ssh_private_key:
# ${{ secrets.PRIVATE_KEY }}
#
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:fscarmen/test.git
ssh_private_key:
${{ secrets.PRIVATE_KEY }}