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

chore: Split build-and-deploy job and run build on all branches #80

Open
cghsystems opened this issue Jul 1, 2024 · 1 comment
Open

Comments

@cghsystems
Copy link
Member

The Kratix-docs CircleCI job is setup to run the build & deploy stages in a single job and the job is only configured to run on the main branch. This results in poor development feedback loops as yarn build is not run in CI until deploy time on main. yarn build should run on all development branches as it gives development time verifications of things like broken links and broken dependencies.

Tasks are:

  • split build & deploy into two jobs
  • run the new build job on all branches
  • The deploy should still only run on main)
@cghsystems cghsystems changed the title chore: Split build-and-deploy job and run on all branches chore: Split build-and-deploy job and run build on all branches Jul 1, 2024
@kirederik
Copy link
Member

instead of splitting, consider adding a job that runs on all branches but main that just runs the yarn build step, while the existing ci remains as is; i think the overall pipeline may be simpler this way 🤔

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

No branches or pull requests

2 participants