CI/CD
- Most CI/CD processes are usually managed with git:
![](https://do4ds.com/chapters/sec1/images-code-promotion/git-branches.png)
CI/CD processes are “triggered” by git changes (i.e. when code changes in test
)
- GitHub is the leading provider for CI/CD via GitHub Actions (GHA)
How Does it Work?
You write code that tells the CI/CD tool to:
- Build a clean, empty server on the cloud
- Copy your code with new changes and the bare-minimum requirements for it to run
- Install and run any tests as specified; if tests fail, stop immediately and inform the developer
- Accept the new changes and “push” to production (automatically copy the changes to the live product)
r-lib
📦 is your friend for getting started with GHA with R — See here