Skip to content

Conversation

@MGTheTrain
Copy link

Only for demonstration. Will be closed

mgajek-cern and others added 6 commits December 3, 2025 10:20
…ction (mgajek-cern#1)

- Adds PR preview deployment for fork PRs using pull_request_target
- Uses JamesIves/github-pages-deploy-action for cross-repo deployment
- Implements automatic cleanup when PRs close
- Adds sticky PR comments with preview URLs
- Extracts build logic to reusable workflow (_build_docs.yaml)
- Preserves PR preview directory during main docs deployment

Ref rucio#658
Configure baseUrl via BASE_URL env var to support PR preview paths.
Fixes asset loading issues when previews are deployed to subdirectories.
Pass pr-ref to reusable build workflow to ensure PR changes are
built instead of base branch content.
@mgajek-cern
Copy link
Owner

🚀 Preview Deployed

Preview URL: https://mgajek-cern.github.io/documentation/pr-preview/pr-6/

Built from commit: d17cf2c

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