Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zizdlp committed Aug 24, 2024
1 parent 1d05866 commit b7ce0c0
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .github/CODEOWNERS

* @zizdlp
20 changes: 20 additions & 0 deletions .github/workflows/auto_sync.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: auto_sync

on:
push:
branches:
- main
jobs:
auto_sync:
runs-on: ubuntu-latest
steps:
- name: Deploy Stage
run: |
curl -X POST ${{ secrets.ZBOOK_URI }} \
-H 'Content-Type: application/json' \
-d '{
"repo_name": "${{ secrets.ZBOOK_REPO_NAME }}",
"username": "${{ secrets.ZBOOK_USERNAME }}",
"sync_token": "${{ secrets.ZBOOK_SYNC_TOKEN }}"
}' \
--max-time 600 # 设置最大超时时间为600秒

0 comments on commit b7ce0c0

Please sign in to comment.