Skip to content

Commit

Permalink
feat(ci): add Actions to Sync Gitee (#553)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahoo-Wang authored Apr 9, 2024
1 parent d3e116d commit b59e447
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/gitee-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Sync to Gitee
on:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
- gh-pages
- gh-pages-with-site-base
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Sync to Gitee
uses: wearerequired/git-mirror-action@master
env:
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
with:
source-repo: "[email protected]:Ahoo-Wang/CosId.git"
destination-repo: "[email protected]:AhooWang/CosId.git"

0 comments on commit b59e447

Please sign in to comment.