quartz/content/.github/workflows/sync.yml
2026-02-10 09:53:48 +00:00

21 lines
580 B
YAML

name: Sync to Quartz
on:
push:
branches: [ main ]
jobs:
repo-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Pushing to Quartz Repo
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.QUARTZ_SYNC_TOKEN }}
with:
source-directory: '.'
destination-github-username: 'witty-hamster'
destination-repository-name: 'quartz'
user-email: cuiguodong_2012@163.com
target-directory: 'content'