Skip to content

Commit

Permalink
ci: Manually set the GH Pages URL in the docs build.
Browse files Browse the repository at this point in the history
Signed-off-by: Philip Conrad <[email protected]>
  • Loading branch information
philipaconrad committed Apr 19, 2024
1 parent d793458 commit 1c37046
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docfx-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ concurrency:

jobs:
publish-docs:
env:
STYRA_GH_PAGES_URL: https://styrainc.github.io/opa-csharp
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand All @@ -29,7 +31,7 @@ jobs:
uses: actions/checkout@v3

- name: Patch Speakeasy README docs links
run: ./scripts/patch-readme.sh README.md ${{ steps.deployment.outputs.page_url }}
run: ./scripts/patch-readme.sh README.md ${{ env.STYRA_GH_PAGES_URL }}

- name: Dotnet Setup
uses: actions/setup-dotnet@v3
Expand Down

0 comments on commit 1c37046

Please sign in to comment.