Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mavam
Copy link
Member

@mavam mavam commented Oct 20, 2025

Summary

  • replace PR preview deploys with JamesIves/github-pages-deploy-action
  • publish main docs site through the same action while keeping preview directories
  • integrate PR preview cleanup into the docs workflow

Testing

  • not run (workflow-only change)

@mavam mavam force-pushed the topic/gh-pr-preview branch from 13d52c4 to 47e2975 Compare October 20, 2025 15:38
@tenzir tenzir deleted a comment from github-actions bot Oct 20, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Oct 20, 2025

πŸš€ Documentation Preview

Your changes are live! View the preview deployment:

πŸ‘€ View Preview β†’


πŸ“¦ Commit 5a65c41cf03feb7fbf6b3dc3f8893e3a35f36e6e
🌿 Branch topic/gh-pr-preview
βš™οΈ Workflow #1156

Note: This preview updates automatically with each push to the PR.

@mavam mavam changed the title Use deploy-pr-preview action Upgrade PR previews Oct 20, 2025
github-actions bot added a commit that referenced this pull request Oct 20, 2025
mavam added 9 commits October 20, 2025 18:19
Remove complex metadata file management and redundant steps.

Changes:
- Remove separate pages-metadata deployment
- Remove github-script step for CNAME cleanup
- Include .nojekyll and _config.yml directly in dist folder
- Simplify to single PR preview deployment step

This streamlines the workflow while maintaining all necessary
functionality for both main site and PR preview deployments.
Temporarily allow deployment from topic/gh-pr-preview branch
to restore the main site while testing PR previews.

This will be reverted before merging to main.
Remove topic branch from main site deployment condition.
Main site will only deploy from main branch going forward.
- Rename index.mdoc to index.mdx
- Convert Markdoc syntax ({% %}) to MDX JSX syntax
- Import components from @astrojs/starlight/components
- Maintain all existing functionality and content
Use import.meta.env.BASE_URL to properly construct links
so they work in both main site (/) and PR previews (/pr-preview/pr-N/).
Replace HTML button (which doesn't render) with clean markdown:
- Use heading with large link for preview
- Add table for metadata display
- Use blockquote for the note
- Update cleanup message to match style
- Use πŸ‘€ emoji for preview link (better than πŸ”—)
- Change workflow emoji from πŸ”„ to βš™οΈ for better visual
@mavam
Copy link
Member Author

mavam commented Oct 20, 2025

Just an experiment. Dismissing due to high complexity.

@mavam mavam closed this Oct 20, 2025
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