Setting up CI/CD pipelines for automating the deployment process with GitHub Actions
CD is the practice of automatically deploying changes to production as soon as they have passed through the production pipeline. This includes the automated processes of testing, building, and deploying. GitHub Actions supports CD, enabling you to automate these processes efficiently.
We’re not going to do it on this project, but we’ll see how we can. To begin with, this will be a test and build stage like the other two. Deployment takes place naturally at the end of development, so the same will apply to the workflow. At the end of our current workflow, just after the build, we’ll add the following to deploy on a remote server:
- name: Upload build files to remote server uses: appleboy/scp-action@master with: &...