Skip to content

Commit f10543e

Browse files
authored
ci: fix dep graph generation when manually publishing docs (#454)
Graphviz missing on the runner when a manual docs publish happens.
1 parent 868f925 commit f10543e

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

.github/actions/publish-docs/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ inputs:
1111
runs:
1212
using: composite
1313
steps:
14-
- uses: launchdarkly/gh-actions/actions/[email protected].1
14+
- uses: launchdarkly/gh-actions/actions/[email protected].2
1515
name: 'Publish to Github pages'
1616
with:
1717
docs_path: ${{ inputs.workspace_path }}/docs

.github/actions/sdk-release/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ runs:
9090
uses: ./.github/actions/publish-docs
9191
with:
9292
workspace_path: ${{ inputs.sdk_path }}
93+
token: ${{ inputs.github_token }}
9394

9495
- name: Configure MSVC
9596
if: runner.os == 'Windows'

.github/workflows/manual-publish-doc.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- uses: actions/checkout@v4
19-
- uses: actions/setup-node@v3
20-
with:
21-
node-version: 16.x
22-
registry-url: 'https://registry.npmjs.org'
23-
- run: sudo apt-get install doxygen
19+
- run: sudo apt-get install doxygen graphviz
2420
- id: build
2521
# Build using the same steps from CI.
2622
name: Build

0 commit comments

Comments
 (0)