You MUST Learn CI/CD with Github Actions. 😎
GitHub Actions workflow is a typical setup for automating the process of building, testing, and deploying code, ensuring that only code that passes all tests gets deployed to production. 💡
1. Workflow :
✅ The title at the top (
2. Trigger (
✅ The
3. Jobs:
✅ The
3.1 Build Job: ✅
-
- ✅Steps:
1. Checkout Repository: Uses the
2. Set up Node.js: Uses the
3. Install Dependencies: Runs
4. Run Tests: Executes
3.2 Deploy Job: ✅
-
-
- Steps: ✅
1. Deploy to Production:
The
GitHub Actions workflow is a typical setup for automating the process of building, testing, and deploying code, ensuring that only code that passes all tests gets deployed to production. 💡
1. Workflow :
✅ The title at the top (
name: CI/CD with GitHub Actions
) indicates the name of the workflow. This name helps to identify the workflow among others in the repository.2. Trigger (
on
):✅ The
on
keyword specifies the event that triggers this workflow. In this case, the workflow is triggered by a push
event to the main
branch. This means that whenever a commit is pushed to the main
branch, the workflow will run automatically.3. Jobs:
✅ The
jobs
section defines the tasks that will be executed in this workflow. There are two jobs defined here: build
and deploy
.3.1 Build Job: ✅
-
runs-on:
specifies the virtual environment where the job will run. Here, ubuntu-latest
means it will run on the latest version of Ubuntu provided by GitHub Actions.- ✅Steps:
1. Checkout Repository: Uses the
actions/checkout@v2
action to clone the repository's code into the workflow environment. 2. Set up Node.js: Uses the
actions/setup-node@v3
action to install Node.js version 14, preparing the environment to run Node.js commands. 3. Install Dependencies: Runs
npm install
to install the project's dependencies defined in package.json
. 4. Run Tests: Executes
npm test
to run the project's tests. 3.2 Deploy Job: ✅
-
needs:
specifies that the deploy
job depends on the success of the build
job. It will only run if the build
job completes successfully.-
runs-on:
Like the build
job, the deploy
job also runs on ubuntu-latest
.- Steps: ✅
1. Deploy to Production:
The
run
block contains a simple shell script that checks if the build
job was successful. If it was, it echoes "Deployment logic goes here" (which is where you would put the actual deployment commands). If the build failed, it outputs "Build failed, skipping deployment".❤10
Here we have compiled a list of 40+ cheat sheets that cover a wide range of topics essential for you. 👇
1. HTML & CSS :- htmlcheatsheet.com
2. JavaScript :- https://lnkd.in/dfSvFuhM
3. Jquery :- https://lnkd.in/dcvy6kmQ
4. Bootstrap 5 :- https://lnkd.in/dNZ6qdBh
5. Tailwind CSS :- https://lnkd.in/d_T5q5Tx
6. React :- https://t.iss.one/Programming_experts/230
7. Python :- https://t.iss.one/pythondevelopersindia/99
8. MongoDB :- https://lnkd.in/dBXxCQ43
9. SQL :- https://t.iss.one/sqlspecialist/222
10. Nodejs :- https://lnkd.in/dwry8BKH
11. Expressjs :- https://lnkd.in/d3BMMwem
12. Django :- https://lnkd.in/dYWQKZnT
13. PHP :- https://quickref.me/php
14. Google Dork :- https://lnkd.in/dKej3-42
15. Linux :- https://lnkd.in/dCgH_qUq
16. Git :- https://lnkd.in/djf9Wc98
17. VSCode :- https://quickref.me/vscode
18. PC Keyboard :- https://bit.ly/3luF73K
19. Data Structures and Algorithms :- https://lnkd.in/d75ijyr3
20. DSA Practice :- https://lnkd.in/dDc6SaR8
21. Data Science :- https://lnkd.in/dHaxPYYA
22. Flask :- https://lnkd.in/dkUyWHqR
23. CCNA :- https://lnkd.in/dE_yD6ny
24. Cloud Computing :- https://lnkd.in/d9vggegr
25. Machine Learning :- https://t.iss.one/learndataanalysis/29
26. Windows Command :- https://lnkd.in/dAMeCywP
27. Computer Basics :- https://lnkd.in/d9yaNaWN
28. MySQL :- https://lnkd.in/d7iJjSpQ
29. PostgreSQL :- https://lnkd.in/dDHQkk5f
30. MSExcel :- https://bit.ly/3Jz0dpG
31. MSWord :- https://lnkd.in/dAX4FGkR
32. Java :- https://lnkd.in/dRe98iSB
33. Data Analytics :- https://t.iss.one/sqlspecialist
34. C++ :- https://lnkd.in/d4GjE2kd
35. C :- https://lnkd.in/diuHU72d
36. Resume Creation :- https://bit.ly/3JA3KnJ
37. ChatGPT :- https://lnkd.in/dsK37bSj
38. Docker :- https://lnkd.in/dNVJxYNa
39. Gmail :- bit.ly/3JX68pR
40. AngularJS :- bit.ly/3yYY0ik
41. Atom Text Editor :- bit.ly/40oJFY9
42. R Programming :- bit.ly/3Jysq00
1. HTML & CSS :- htmlcheatsheet.com
2. JavaScript :- https://lnkd.in/dfSvFuhM
3. Jquery :- https://lnkd.in/dcvy6kmQ
4. Bootstrap 5 :- https://lnkd.in/dNZ6qdBh
5. Tailwind CSS :- https://lnkd.in/d_T5q5Tx
6. React :- https://t.iss.one/Programming_experts/230
7. Python :- https://t.iss.one/pythondevelopersindia/99
8. MongoDB :- https://lnkd.in/dBXxCQ43
9. SQL :- https://t.iss.one/sqlspecialist/222
10. Nodejs :- https://lnkd.in/dwry8BKH
11. Expressjs :- https://lnkd.in/d3BMMwem
12. Django :- https://lnkd.in/dYWQKZnT
13. PHP :- https://quickref.me/php
14. Google Dork :- https://lnkd.in/dKej3-42
15. Linux :- https://lnkd.in/dCgH_qUq
16. Git :- https://lnkd.in/djf9Wc98
17. VSCode :- https://quickref.me/vscode
18. PC Keyboard :- https://bit.ly/3luF73K
19. Data Structures and Algorithms :- https://lnkd.in/d75ijyr3
20. DSA Practice :- https://lnkd.in/dDc6SaR8
21. Data Science :- https://lnkd.in/dHaxPYYA
22. Flask :- https://lnkd.in/dkUyWHqR
23. CCNA :- https://lnkd.in/dE_yD6ny
24. Cloud Computing :- https://lnkd.in/d9vggegr
25. Machine Learning :- https://t.iss.one/learndataanalysis/29
26. Windows Command :- https://lnkd.in/dAMeCywP
27. Computer Basics :- https://lnkd.in/d9yaNaWN
28. MySQL :- https://lnkd.in/d7iJjSpQ
29. PostgreSQL :- https://lnkd.in/dDHQkk5f
30. MSExcel :- https://bit.ly/3Jz0dpG
31. MSWord :- https://lnkd.in/dAX4FGkR
32. Java :- https://lnkd.in/dRe98iSB
33. Data Analytics :- https://t.iss.one/sqlspecialist
34. C++ :- https://lnkd.in/d4GjE2kd
35. C :- https://lnkd.in/diuHU72d
36. Resume Creation :- https://bit.ly/3JA3KnJ
37. ChatGPT :- https://lnkd.in/dsK37bSj
38. Docker :- https://lnkd.in/dNVJxYNa
39. Gmail :- bit.ly/3JX68pR
40. AngularJS :- bit.ly/3yYY0ik
41. Atom Text Editor :- bit.ly/40oJFY9
42. R Programming :- bit.ly/3Jysq00
❤15👍1🔥1
𝟭𝟬𝟬% 𝗙𝗥𝗘𝗘 𝗖𝗲𝗿𝘁𝗶𝗳𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗖𝗼𝘂𝗿𝘀𝗲𝘀😍
Earn industry-recognized certificates and boost your career 🚀
1️⃣ AI & ML – https://pdlink.in/3U3eZuq
2️⃣ Data Analytics – https://pdlink.in/4lp7hXQ
3️⃣ Cloud Computing – https://pdlink.in/3GtNJlO
4️⃣ Cyber Security – https://pdlink.in/4nHBuTh
More Courses – https://pdlink.in/3ImMFAB
Get the Govt. of India Incentives on course completion🏆
Earn industry-recognized certificates and boost your career 🚀
1️⃣ AI & ML – https://pdlink.in/3U3eZuq
2️⃣ Data Analytics – https://pdlink.in/4lp7hXQ
3️⃣ Cloud Computing – https://pdlink.in/3GtNJlO
4️⃣ Cyber Security – https://pdlink.in/4nHBuTh
More Courses – https://pdlink.in/3ImMFAB
Get the Govt. of India Incentives on course completion🏆
❤3
Roadmap to become a Web Developer:
📂 Learn HTML & CSS
∟📂 Learn JavaScript
∟📂 Learn Git & GitHub
∟📂 Learn Responsive Design
∟📂 Learn Frontend Frameworks (React / Vue)
∟📂 Learn Backend (Node.js / Express)
∟📂 Learn Database (MongoDB / SQL)
∟📂 Learn APIs & Authentication
∟📂 Build Projects & Portfolio
∟✅ Apply for Job
React ❤️ for More 💻
Free Web Development Resources: https://whatsapp.com/channel/0029VaiSdWu4NVis9yNEE72z
📂 Learn HTML & CSS
∟📂 Learn JavaScript
∟📂 Learn Git & GitHub
∟📂 Learn Responsive Design
∟📂 Learn Frontend Frameworks (React / Vue)
∟📂 Learn Backend (Node.js / Express)
∟📂 Learn Database (MongoDB / SQL)
∟📂 Learn APIs & Authentication
∟📂 Build Projects & Portfolio
∟✅ Apply for Job
React ❤️ for More 💻
Free Web Development Resources: https://whatsapp.com/channel/0029VaiSdWu4NVis9yNEE72z
❤11