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

48 lines
1.3 KiB

name: 'GitHub Actions Mirror'
on:
push:
branches:
- master //当有文件上传到这个分支开始部署 也有可能是main
schedule:
- cron: '0 16 * * *'
jobs:
# mirror_to_gitee:
# runs-on: ubuntu-latest
# steps:
# - name: 'Checkout'
# uses: actions/checkout@v1
# - 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@v1
# - name: 'Mirror to bitbucket'
# uses: pixta-dev/repository-mirroring-action@v1
# with:
# target_repo_url:
# git@bitbucket.com:rwkgyg/cfwarp.git
# ssh_private_key:
# ${{ secrets.private_key }}
#
mirror_to_gitlab:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@v1
- 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.GITLAB_KEY }}