Skip to content

docs: add GitHub Pages deployment workflow - #181

Merged
aaishwarymishra merged 6 commits into
pytorch-ignite:mainfrom
saraelsayed13:docs/github-pages
Sep 15, 2026
Merged

aaishwarymishra merged 6 commits into
pytorch-ignite:mainfrom
saraelsayed13:docs/github-pages

Conversation

@saraelsayed13

Copy link
Copy Markdown
Contributor

Summary

Adds GitHub Pages deployment for the documentation site (Part 5 of #156).

  • Adds .github/workflows/docs.yml: builds docs on PRs (validation only), deploys to GitHub Pages from main pushes.
  • Adds site_url to mkdocs.yml.
  • Adds the documentation URL to pyproject.toml [project.urls] and README.md.
  • Ignores the local site/ build output in .gitignore.
  • Pins all GitHub Actions to full commit SHAs per Pin GitHub Actions to immutable commit SHAs #154.

AI usage

  • AI tools were used to assist this contribution

Testing

  • Existing tests and checks pass
  • Documentation updated if needed

Comment thread .github/workflows/docs.yml Resolved
@netlify

netlify Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for trainite canceled.

Name Link
🔨 Latest commit a716478
🔍 Latest deploy log https://app.netlify.com/projects/trainite/deploys/6aa9a0e9f6458c0008e6d0bc

Comment thread netlify.toml Resolved
Comment thread .github/workflows/docs.yml Resolved
Comment thread .github/workflows/docs.yml Resolved
@aaishwarymishra

Copy link
Copy Markdown
Member

@saraelsayed13 can you maybe make this pull request on develop branch first, with the on push branch develop, so we can merge there and test if pages are being deployed correctly, before merging in main :)

@saraelsayed13
saraelsayed13 changed the base branch from main to develop September 15, 2026 18:36
@saraelsayed13
saraelsayed13 changed the base branch from develop to main September 15, 2026 19:09
Comment thread .github/workflows/docs.yml Resolved
@aaishwarymishra
aaishwarymishra merged commit 382b209 into pytorch-ignite:main Sep 15, 2026
11 checks passed
@aaishwarymishra

Copy link
Copy Markdown
Member

Thanks @saraelsayed13

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.

3 participants