Skip to content

Fix docs deploy CI permissions and document build commands#164

Merged
shchur merged 1 commit into
autogluon:mainfrom
shchur:fix-docs-ci
Jul 1, 2026
Merged

Fix docs deploy CI permissions and document build commands#164
shchur merged 1 commit into
autogluon:mainfrom
shchur:fix-docs-ci

Conversation

@shchur

@shchur shchur commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

The docs deploy workflow (.github/workflows/docs.yml) builds the site successfully but fails when mike pushes to gh-pages:

remote: Permission to autogluon/fev.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/autogluon/fev/': The requested URL returned error: 403

mike deploy --push commits the built site to the gh-pages branch, which needs contents: write. The workflow granted contents: read (plus pages/id-token write, which mike doesn't use since it pushes to a branch rather than the Pages artifact API).

Changes

  • docs.yml: replace contents: read + pages: write + id-token: write with contents: write so the CI token can push to gh-pages.
  • docs/requirements.txt: pin docs dependency versions for reproducible/secure builds.
  • docs/README.md: document local preview/build and manual deploy commands (via uv ephemeral envs).

- Grant contents: write so mike can push to the gh-pages branch
  (fixes 403 on tag-triggered deploy)
- Pin docs dependency versions in docs/requirements.txt
- Add docs/README.md with local build and manual deploy commands
@shchur shchur merged commit 0310bfc into autogluon:main Jul 1, 2026
2 checks passed
@shchur shchur deleted the fix-docs-ci branch July 1, 2026 07:37
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