Skip to content

chore: Fix docs publish workflow#79

Merged
keelerm84 merged 1 commit intomainfrom
mk/sdk-1261/fix-build
May 20, 2025
Merged

chore: Fix docs publish workflow#79
keelerm84 merged 1 commit intomainfrom
mk/sdk-1261/fix-build

Conversation

@keelerm84
Copy link
Member

Previously, we were cloning the GH pages branch into a separate
repository, updating it with a new index.yaml file, and then trying to
use the launchdarkly/gh-actions/actions/publish-pages action to publish
those modifications.

However, that action assumes the docs directory ONLY contains
publishable files. The .git files in our checkout were conflicting with
the action's own checkout of gh-pages, resulting in a failure.

This update modifies the commands so that we only read from the initial
cloned repository, and operate only within a clean directory.

Previously, we were cloning the GH pages branch into a separate
repository, updating it with a new index.yaml file, and then trying to
use the launchdarkly/gh-actions/actions/publish-pages action to publish
those modifications.

However, that action assumes the docs directory ONLY contains
publishable files. The .git files in our checkout were conflicting with
the action's own checkout of gh-pages, resulting in a failure.

This update modifies the commands so that we only read from the initial
cloned repository, and operate only within a clean directory.
@keelerm84 keelerm84 requested a review from jsonbailey May 20, 2025 15:37
@keelerm84 keelerm84 merged commit 984d772 into main May 20, 2025
2 checks passed
@keelerm84 keelerm84 deleted the mk/sdk-1261/fix-build branch May 20, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants