How to Configure Auto-Update for GitHub Actions Deployment
Notice
If you encounter any issues, please report them via GitHub Issues. Thank you. Auto-update will not execute SQL files for the D1 database. When the database schema changes, you need to execute them manually.
- Open the
Actionspage of the repository, findUpstream Sync, and clickenable workflowto enable theworkflow - (Optional) To automatically sync commits that change
.github/workflows/*, create a fine-grained personal access token scoped only to your fork withContents: Read and writeandWorkflows: Read and write. Add it as a repository secret namedUPSTREAM_SYNC_TOKENunder your fork'sSettings → Secrets and variables → Actions. Do not put the token in configuration files or commit it to the repository. - When unset, the workflow uses the default
GITHUB_TOKENand explicitly requestscontents: writeto sync ordinary commits. If it reportsworkflow scope or permission to merge, the token cannot sync workflow changes. ConfigureUPSTREAM_SYNC_TOKENas described above, or useSync forkon the repository homepage to sync manually. - You can customize the update interval by modifying the
scheduleconfiguration inUpstream Sync, refer to cron expressions