Skip to content

Commit

Permalink
ci: add github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
toFrankie committed Mar 17, 2024
1 parent 41efec9 commit 6fa9e5b
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/sync-to-gitee.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Sync to Gitee
on:
push:
branches:
- main
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: Gitee repo mirror
uses: Yikun/hub-mirror-action@master
with:
src: github/toFrankie
dst: gitee/frankie_li
dst_key: ${{ secrets.GITEE_PRIVATE_KEY }}
dst_token: ${{ secrets.GITEE_TOKEN }}
static_list: 'blog'
account_type: user
debug: true

0 comments on commit 6fa9e5b

Please sign in to comment.