Chapter 90: GitHub Actions Deep Dive
Friends, in chapter 9 you wrote your first GitHub Actions workflow. Today we go deep. You will learn runners, triggers, needs, matrix, concurrency, environments with approvals, secrets and OIDC to AWS without stored keys, build and publish patterns, reusable workflows, caching, artifacts, status checks, a comparison with Jenkins and GitLab CI, a lab, and interview cards. Go slowly. Run every small example once.
मित्रांनो, chapter 9 मध्ये तुम्ही पहिला GitHub Actions workflow लिहिला. आज आपण खोलात जाऊ. Runners, triggers, needs, matrix, concurrency, approvals सोबत environments, secrets आणि key न ठेवता AWS ला OIDC, build-publish patterns, reusable workflows, caching, artifacts, status checks, Jenkins आणि GitLab CI शी तुलना, lab आणि interview cards. हळू हळू करा. प्रत्येक छोटं example एकदा चालवून बघा.
दोस्तों, chapter 9 में आपने पहला GitHub Actions workflow लिखा. आज हम गहराई में जाएंगे. Runners, triggers, needs, matrix, concurrency, approvals वाले environments, secrets और बिना key रखे AWS के लिए OIDC, build-publish patterns, reusable workflows, caching, artifacts, status checks, Jenkins और GitLab CI से तुलना, lab और interview cards. धीरे धीरे चलें. हर छोटा example एक बार चलाकर देखें.
What you will learn in this chapter
- Why teams move deploys into GitHub Actions
- Workflows, jobs, steps and runners
- Triggers: push, pull_request, workflow_dispatch, schedule and paths
- needs, matrix, concurrency, environments and approvals
- Secrets, variables and OIDC to AWS
- Build, test and publish for Node, Python and Docker
- Reusable workflows and composite actions
- Caching, artifacts and status checks
- GitHub Actions vs Jenkins vs GitLab CI
- Lab: a manual test-and-artifact workflow
- Interview and revision cards
Where this sits. Chapter 9 gave you the first workflow. Chapters 20–32 taught Jenkins. Chapter 81 has GitHub Actions projects. This chapter fills the middle: how each piece of GitHub Actions really works, one small example at a time.
Concepts in this chapter
- 90.1Why GitHub Actions — beyond the first workflow
- 90.2Workflows, jobs, steps and runners
- 90.3Triggers — push, pull_request, workflow_dispatch, schedule and paths
- 90.4YAML deep dive — needs, matrix, concurrency, environments and approvals
- 90.5Secrets, variables and OIDC to AWS
- 90.6Build, test and publish — Node, Python and Docker
- 90.7Reusable workflows and composite actions
- 90.8Caching, artifacts and status checks
- 90.9Comparison — GitHub Actions vs Jenkins vs GitLab CI
- 90.10Lab — manual test-and-artifact workflow
- 90.11Interview questions and revision
The chapter recap is at the end of the last concept page.