Book Image

Automating Workflows with GitHub Actions

By : Priscila Heller
Book Image

Automating Workflows with GitHub Actions

By: Priscila Heller

Overview of this book

GitHub Actions is one of the most popular products that enables you to automate development tasks and improve your software development workflow. Automating Workflows with GitHub Actions uses real-world examples to help you automate everyday tasks and use your resources efficiently. This book takes a practical approach to helping you develop the skills needed to create complex YAML files to automate your daily tasks. You'll learn how to find and use existing workflows, allowing you to get started with GitHub Actions right away. Moving on, you'll discover complex concepts and practices such as self-hosted runners and writing workflow files that leverage other platforms such as Docker as well as programming languages such as Java and JavaScript. As you advance, you'll be able to write your own JavaScript, Docker, and composite run steps actions, and publish them in GitHub Marketplace! You'll also find instructions to migrate your existing CI/CD workflows into GitHub Actions from platforms like Travis CI and GitLab. Finally, you'll explore tools that'll help you stay informed of additions to GitHub Actions along with finding technical support and staying engaged with the community. By the end of this GitHub book, you'll have developed the skills and experience needed to build and maintain your own CI/CD pipeline using GitHub Actions.
Table of Contents (14 chapters)
1
Section 1:Introduction and Overview of Technologies Used with GitHub Actions
4
Section 2: Advanced Concepts and Hands-On Exercises to Create Actions
9
Section 3: Customizing Existing Actions, Migrations, and the Future of GitHub Actions

What this book covers

Chapter 1, Learning the Foundations of GitHub Actions, introduces GitHub, YAML, and other concepts that are the foundation of GitHub Actions.

Chapter 2, Deep-Diving into GitHub Actions, presents specific concepts, components, and characteristics of GitHub Actions in more detail.

Chapter 3, A Closer Look at Workflows, presents in-depth information about workflows, the core of GitHub Actions. This chapter includes several real-life examples.

Chapter 4, Working with Self-Hosted Runners, gives an overview of what self-hosted runners are, how to create an environment to host runners, and creating a workflow that uses a self-hosted runner.

Chapter 5, Writing Your Own Actions, guides you on creating actions of all three kinds: Docker, JavaScript, and composite run steps.

Chapter 6, Marketplace: Finding Existing Actions and Publishing Your Own, guides you on how to find existing actions that were created by the GitHub Actions community, and how to publish actions that you create.

Chapter 7, Migrations, looks at how to migrate from other CI/CD platforms such as Azure Pipelines, GitLab CI/CD, and Jenkins into GitHub Actions.

Chapter 8, Contributing to the Community and Finding Help, covers how you can participate in the GitHub Actions community to both ask for and offer help.

Chapter 9, The Future of GitHub Actions, takes a look at the public GitHub roadmap and highlights GitHub Actions features that will be added in the future.