Skip to content

Upstream Sync

Upstream Sync #58

Workflow file for this run

name: "Upstream Sync"
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *" # 每天同步一次
jobs:
sync_latest_from_upstream:
runs-on: ubuntu-latest
name: Sync latest commits from upstream repo
steps:
- name: Checkout target repo
uses: actions/checkout@v3
- name: Sync upstream changes
id: sync
uses: aormsby/[email protected]
with:
upstream_sync_repo: Ac-Wiki/AcWiKi
upstream_sync_branch: main
target_sync_repo: Ac-Wiki/AcWiKi
target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }}
test_mode: false