Skip to content

Fix documentation publishing workflow - #252

Open
Renato L. de F. Cunha (renatolfc) wants to merge 1 commit into
microsoft:mainfrom
renatolfc:fix/doc-build-publish-permissions
Open

Fix documentation publishing workflow#252
Renato L. de F. Cunha (renatolfc) wants to merge 1 commit into
microsoft:mainfrom
renatolfc:fix/doc-build-publish-permissions

Conversation

@renatolfc

Copy link
Copy Markdown
Contributor

The documentation workflow currently publishes on a closed pull-request event, but that event receives a read-only token. The documentation build succeeds and the final gh-pages push fails with 403.

This PR builds documentation on pull requests without publishing, then publishes only after changes reach main. It also removes the mutable third-party master actions in favor of direct Sphinx commands and immutable official action SHAs.

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.

1 participant