Github Actions is a Continuous Integration and Continuous Development(CI/CD) platform that allows you to automate your build, test, and deployment pipeline. You can create workflows that build and test every pull request to your repository, or deploy merged pull requests to production.
GitHub Actions goes beyond just DevOps and lets you run workflows when other events happen in your repository.
For example, you can run a workflow to automatically add the appropriate labels whenever someone creates a new issue in your repository.
GitHub Actions makes it easy to automate all your software workflows, with CI/CD.
- Build, test, and deploy your code right from GitHub.
- Make code reviews, branch management, and issue triaging work the way you want.
Workflow is triggered by an event.
- Workflow contains jobs which can have multiple steps - Each step can be associated with an action or a script.
Code - defined workflow -
- A workflow can contain actions created by the community, or you can create your own actions directly with your application’s repository.
Support for Python, Java, Node.js, Ruby, PHP, Go, Rust, .NET apps.
Great starting point for smaller projects.
Deploy to cloud.
I have added a github actions workflow in my personal website repository.
The above diagram shows the flow of the github-action which I have added to automate the code changes and commits, so that the workflow will automatically run as scheduled and deploy the changes successfully to production.
You can checkout the repository here.