[refactor] 重构缓存逻辑,使用多个缓存文件 #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Mirroring | |
on: | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
to_gitee: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: pixta-dev/repository-mirroring-action@v1 | |
with: | |
target_repo_url: | |
[email protected]:Betta_Fish/FluentWeather.git | |
ssh_private_key: # <-- use 'secrets' to pass credential information. | |
${{ secrets.SSH_KEY }} |