自动测试工作流
下文中“您的仓库”指的是您复刻(Fork)的仓库;
如 your-user-name/public-docs,其中 your-user-name 为您的 GitHub 用户名。
- 在您的仓库的主页面(
Code页面)中,点击顶栏的Settings,然后点击左侧的Actions,选择General, 确保Actions permissions设置为Allow all actions and reusable workflows; 确保Workflow permissions设置为Read and write permissions。 - 在您的仓库的主页面(
Code页面)中,点击顶栏的Actions, 点击页面中部的确认I understand my workflows, go ahead and enable them。 - 点击顶栏的
Settings,然后点击左侧的Pages。 设置Build and deployment下的Source为GitHub Actions。