## https://gitee.com/valetzx/valetzx.gitee.io ## https://gitlab.com/valetzx/valetzx.gitlab.io ## https://github.com/valetzx/valetzx.github.io
## https://pighog.vercel.app/p/8a1f.html
name: 'GitHub Actions Mirror'
on:
push:
branches:
- master //当有文件上传到这个分支开始部署 也有可能是main
schedule:
- cron: '0 16 * * *' //定时每天16点UTC
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:
$
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:valetzx/valetzx.gitlab.io.git //这里填gitlab仓库ssh地址
ssh_private_key:
$
![](https://gitee.com/valetzx/pubfile/raw/main/img/computer/RM.jpg)
https://gitlab.com/valetzx/pubfile/-/blob/main/img/computer/RM.jpg
https://github.com/pigeonpig/pubfile/blob/main/img/computer/RM.jpg
https://ghproxy.com/
也可以加速githubhttps://ghproxy.com/https://github.com/pigeonpig/pubfile/blob/main/img/computer/RM.jpg