Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsrathore1/github-action
Embarking on the GitHub Actions journey, 🚀 I've mastered the art of automating workflows to make development a breeze! 🤖 Through YAML magic, I've woven CI/CD spells, conjuring automated testing and deployment charms. 🧙♂️ This newfound wizardry has supercharged my projects, fostering efficient collaboration in the GitHub realm.
https://github.com/dsrathore1/github-action
docker docker-compose github githubactions monolith nextjs14 nodejs reactjs workflow yaml yml-files
Last synced: about 2 hours ago
JSON representation
Embarking on the GitHub Actions journey, 🚀 I've mastered the art of automating workflows to make development a breeze! 🤖 Through YAML magic, I've woven CI/CD spells, conjuring automated testing and deployment charms. 🧙♂️ This newfound wizardry has supercharged my projects, fostering efficient collaboration in the GitHub realm.
- Host: GitHub
- URL: https://github.com/dsrathore1/github-action
- Owner: dsrathore1
- Created: 2022-12-01T00:03:47.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-20T09:39:44.000Z (about 1 year ago)
- Last Synced: 2024-12-30T20:23:11.193Z (about 2 months ago)
- Topics: docker, docker-compose, github, githubactions, monolith, nextjs14, nodejs, reactjs, workflow, yaml, yml-files
- Language: JavaScript
- Homepage:
- Size: 189 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
GitHub Actions 🎬
```
GitHub Actions is a continuous integration and continuous delivery (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.
```How Workflow works ‼
> **Note** : Always create .github/workflows on first page of Repo.
GitHub Actions uses YAML syntax to define the workflow. Each workflow is stored as a separate YAML file in your code repository, in a directory named `.github/workflows`.
### There are 5 main steps of GitHub Actions
- Events
- Jobs
- Runners
- Steps
- Actions### SIMPLE EXAMPLE :-
This is an a simple and best example of GitHub Actions to understand an concept although to use of **CI/CD Pipelines** in better way. This shows how **YAML CODE** exactly works. I think this is an better alternative of **JENKINS** for beginner, and at the end this is easy to learn tool too.
```YAML
name: GitHub Actions # --> This is for file name
run-name: Action is going ON # --> This command is for Title of running actions
on: [push] # --> As name suggest this is most important command to push the codejobs:
build:
runs-on: ubuntu-latest # --> Virtual Machine
defaults: # --> These all commands will execute first
run:
working-directory: ./app # --> Change the directory
steps:
- uses: actions/checkout@v3
with:
- name: Run a sample github actions
run: |
echo "This workflow runs successfully"
echo " Runs all the commands in single command because this will not takes time to execute"
```🙏JAY SHREE KRISHNA 🙏