From 4470fc76c4fa10a61d3b4581a31f92e614e383af Mon Sep 17 00:00:00 2001 From: "Shaun Lawrie (via GitHub Actions)" Date: Thu, 14 Mar 2024 23:41:50 +1300 Subject: [PATCH] Remove prerelease publish from docs workflow --- .github/workflows/publish-docs.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index 2b6cba11..464e3f7e 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - prerelease permissions: contents: write @@ -23,7 +22,7 @@ jobs: $ErrorActionPreference = "Stop" & .\PwshSpectreConsole\Build.ps1 Install-Module HelpOut -Scope CurrentUser -Force - & .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive -Branch "${{ github.ref_name }}" + & .\PwshSpectreConsole.Docs\UpdateDocs.ps1 -NonInteractive git config --global user.name 'Shaun Lawrie (via GitHub Actions)' git config --global user.email 'shaun.r.lawrie@gmail.com' git add PwshSpectreConsole.Docs/src/content || true