diff --git a/docs/articles/getting-started/setup-checklist.md b/docs/articles/getting-started/setup-checklist.md index 45b4781..baf6a00 100644 --- a/docs/articles/getting-started/setup-checklist.md +++ b/docs/articles/getting-started/setup-checklist.md @@ -85,6 +85,8 @@ following [project template](https://github.com/pleonex/template-csharp). 4. Review `build.yml` to remove / add OS platforms to run build and tests. 5. Enable GitHub Pages in the repository settings 1. Select GitHub Actions as the source. + 2. From _Environments_, select `github-pages`. Under _Deployment branches and + tags_ add a new rule to allow publishing docs from the tags `v*`. ## Collaboration files diff --git a/docs/articles/recipe/github.md b/docs/articles/recipe/github.md index 2d9c93e..b1a1679 100644 --- a/docs/articles/recipe/github.md +++ b/docs/articles/recipe/github.md @@ -46,7 +46,7 @@ the current version (if any) into `ChangelogNextFile`. - Task name: `PleOps.Recipe.GitHub.UploadReleaseBinaries` - Type: [`UploadReleaseBinaries`](xref:Cake.Frosting.PleOps.Recipe.GitHub.UploadReleaseBinariesTask) -- Depends on: none +- Depends on: [`RestoreTools`](./common.md#restore-tools) - Condition: build type is `Stable` and `GitHubToken` is not empty. - Build context: `PleOpsBuildContext` - Uses: diff --git a/src/Cake.Frosting.PleOps.Recipe/GitHub/UploadReleaseBinariesTask.cs b/src/Cake.Frosting.PleOps.Recipe/GitHub/UploadReleaseBinariesTask.cs index 4783311..b5c46bf 100644 --- a/src/Cake.Frosting.PleOps.Recipe/GitHub/UploadReleaseBinariesTask.cs +++ b/src/Cake.Frosting.PleOps.Recipe/GitHub/UploadReleaseBinariesTask.cs @@ -30,6 +30,7 @@ namespace Cake.Frosting.PleOps.Recipe.GitHub; /// This action only runs for stable builds if the GitHub token is present. /// [TaskName("PleOps.Recipe.GitHub.UploadReleaseBinaries")] +[IsDependentOn(typeof(Common.RestoreToolsTask))] public class UploadReleaseBinariesTask : FrostingTask { ///