Working with Github Actions
Jasbinder S.
Azure Cloud,Virtualization, Infrastructure Design and DevOps Expert -VMware ,TD Bank,Scotia Bank, CIBC, Goeasy
GitHub Actions is the platform to automate build, test and deployment of the code. GitHub Actions has below stages:
1.??????Event :?This is triggered when code is updated or there is change in repo like updated PR ,creation of branch .
2.??????Workflows:?Workflow is automated process which will run collection of the jobs. Workflows are defined in YAML file and stored in. github/workflows directory.
3.??????Jobs: This is task that is executed in workflow. There can be multiple jobs in workflow.
4. Runners :?Process running on the server.
Building simple github Action workflow.
on
?push:
? branches:
? ?- main
jobs:
?hello_world:
? runs-on: ubuntu-latest
? steps:
? ?- run: echo "welcome to Github Action 2"
2. Below you can see in GitHub.
3. This will add workflow under actions.