键盘快捷键

按下 以在章节间导航

按下 S/ 以在书中搜索

按下 ? 以显示此帮助

按下 Esc 以隐藏此帮助

自动测试工作流

下文中“您的仓库”指的是您复刻(Fork)的仓库; 如 your-user-name/public-docs,其中 your-user-name 为您的 GitHub 用户名。

  1. 在您的仓库的主页面(Code 页面)中,点击顶栏的 Settings,然后点击左侧的 Actions,选择 General, 确保 Actions permissions 设置为 Allow all actions and reusable workflows; 确保 Workflow permissions 设置为 Read and write permissions
  2. 在您的仓库的主页面(Code 页面)中,点击顶栏的 Actions, 点击页面中部的确认 I understand my workflows, go ahead and enable them
  3. 点击顶栏的 Settings,然后点击左侧的 Pages。 设置 Build and deployment 下的 SourceGitHub Actions