Skip to content

Auto-deploy docs to GitHub Pages on push to main#40

Open
cupOJoseph wants to merge 2 commits intomainfrom
fix/auto-deploy
Open

Auto-deploy docs to GitHub Pages on push to main#40
cupOJoseph wants to merge 2 commits intomainfrom
fix/auto-deploy

Conversation

@cupOJoseph
Copy link
Member

The deploy workflow was manual-only (workflow_dispatch). This switches to auto-deploy on every push to main.

Changes:

  • Trigger on push: branches: [main] (keeps manual workflow_dispatch too)
  • Uses official GitHub Pages actions (upload-pages-artifact + deploy-pages) instead of docusaurus deploy
  • Fixes site URL from neriteorg.github.io to docs.nerite.org

Setup required: Go to repo Settings → Pages → Source → set to GitHub Actions (not "Deploy from a branch").

After merging, any push to main (including PR #39 with the Trove Explorer link) will auto-deploy.

- Replace manual workflow_dispatch with push-to-main trigger
- Use GitHub Pages actions (upload-pages-artifact + deploy-pages)
- Fix site URL to docs.nerite.org (custom domain)
- Keep workflow_dispatch for manual deploys
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