Skip to content

Commit 19541df

Browse files
committed
(build) make docs publish manually trigger-able
1 parent 52c3d69 commit 19541df

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

.github/workflows/docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313
build:
1414
runs-on: ubuntu-latest
1515
env:
16-
GITHUB_USERNAME: ${{ github.repository_owner }}
1716
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1817
steps:
1918
-

build/docs/Tasks/PublishDocs.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public override bool ShouldRun(BuildContext context)
3434
{
3535
var shouldRun = true;
3636
shouldRun &= context.ShouldRun(context.DirectoryExists(Paths.Docs), "Wyam documentation directory is missing");
37-
shouldRun &= context.ShouldRun(context.IsStableRelease || context.IsPreRelease, $"{nameof(PublishDocs)} works only for releases.");
37+
shouldRun &= context.ShouldRun(context.IsStableRelease || context.IsPreRelease || context.ForcePublish, $"{nameof(PublishDocs)} works only for releases.");
3838

3939
return shouldRun;
4040
}

0 commit comments

Comments
 (0)