Skip to content

Add GitHub workflow for auto-deploying to separate R4/R5 repositories#91

Closed
oijauregui wants to merge 2 commits intohl7-eu:masterfrom
oijauregui:workflow-auto-deploy
Closed

Add GitHub workflow for auto-deploying to separate R4/R5 repositories#91
oijauregui wants to merge 2 commits intohl7-eu:masterfrom
oijauregui:workflow-auto-deploy

Conversation

@oijauregui
Copy link
Copy Markdown
Collaborator

This workflow automatically syncs content from igs/imaging-r4 and igs/imaging-r5 to separate child repositories whenever changes are pushed.

Features:

  • Runs ./_preprocessMultiVersion.sh script before deployment
  • Syncs to configurable target repositories ( xxx/ehdsimaging-r4 and ehdsimaging-r5)
  • Maintains branch names across repositories
  • Includes build trigger files with timestamps for reliable detection

Setup required:

  • DEPLOY_TOKEN secret with repo permissions (steps in README.md)
  • Target repositories must exist
  • Optional: R4_REPO_URL and R5_REPO_URL variables for custom targets

This workflow automatically syncs content from igs/imaging-r4 and igs/imaging-r5
to separate child repositories whenever changes are pushed.

Features:
- Runs preprocessing script before deployment
- Syncs to configurable target repositories (default: oijauregui/ehdsimaging-r4 and ehdsimaging-r5)
- Maintains branch names across repositories
- Always creates commits to trigger FHIR auto-ig-builder
- Includes build trigger files with timestamps for reliable detection

Setup required:
- DEPLOY_TOKEN secret with repo permissions
- Target repositories must exist
- Optional: R4_REPO_URL and R5_REPO_URL variables for custom targets
@oijauregui oijauregui requested a review from bvdh October 31, 2025 14:39
Changes:
- Added validate-r4 and validate-r5 jobs that run first
- Both validation jobs must pass before deployment starts
- Deployment jobs now depend on successful validation
- Updated documentation to reflect validation-then-deploy workflow

This ensures only validated content is deployed to child repositories.
@oijauregui oijauregui closed this Apr 14, 2026
@oijauregui
Copy link
Copy Markdown
Collaborator Author

functionality already included in master

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