Skip to content

Update README.md

Update README.md #4

Workflow file for this run

name: "Upstream Sync"
on:
schedule:

Check failure on line 4 in .github/workflows/sync.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/sync.yml

Invalid workflow file

You have an error in your yaml syntax on line 4
- cron: "0 0 * * *" # 每天同步一次
workflow_dispatch:
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