📘 See DISCLAIMER for legal and usage disclaimers related to this repository.
Simple examples of GitHub Workflows, Jobs, Steps, and Actions. Learn how to automate CI/CD and other tasks using GitHub Actions.
This repository provides easy-to-understand examples demonstrating how to use GitHub Actions to automate tasks such as building, testing, and deploying your code. It is intended for beginners and anyone interested in getting started with CI/CD and automation using GitHub Actions.
- Example workflow files for typical CI/CD pipelines
- Demonstrates the structure of workflows, jobs, steps, and actions
- Shows how to use both built-in and custom actions
- Clear, commented YAML files for easy learning
-
Fork or clone this repository:
git clone https://github.com/manojkumar-jmp/explore-github-action.git
-
Browse the
.github/workflows/
directory to see ready-to-use workflow files. -
Adapt the examples to your own repositories and automation needs.
Below is a basic example of a workflow that runs on every push and prints "Hello, world!":
name: Hello World Workflow
on: [push]
jobs:
say-hello:
runs-on: ubuntu-latest
steps:
- name: Print greeting
run: echo "Hello, world!"
Find more examples in the .github/workflows/
directory.
Contributions are welcome! Please open issues or pull requests for improvements or new examples.
This repository is licensed under the MIT License.