Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor GHA workflows so build steps are decoupled from deployment step #177

Conversation

eecavanna
Copy link
Collaborator

On this branch, I removed the build job from the deploy-to-gh-pages.yml workflow and put it in a new workflow, called assemble-website.yml. This will make it so other workflows can trigger a build without also triggering a deployment.

I also removed some workflow triggers from workflows that will be triggered as dependencies anyway. In other words, if A depends upon B, and A is configured to run whenever someone commits to main, GitHub will take care of running B in that situation for me.

@eecavanna
Copy link
Collaborator Author

Heads up, @kaijli! I'll merge this change (assuming it works—I'll find out once I merge it into main and wait a few minutes) into PR branch #157 later today.

@eecavanna eecavanna merged commit a8024a5 into main Jan 30, 2025
1 check passed
@eecavanna eecavanna deleted the 176-decouple-build-and-publish-jobs-into-different-gha-workflows-to-enable-granular-reuse branch January 30, 2025 04:13
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.

Decouple build and publish jobs into different GHA workflows to enable granular reuse
1 participant