About the Book
- Learn how to set up and customise your GitHub Actions workflows
- Implement Continuous Integration and Continuous Deployment
- Optimise performance and security of your actions
- Discover advanced techniques and best practices
Get Your Copy Now
Buy from Amazon
GitHub Actions Essentials is your definitive guide to mastering the world of GitHub Actions, a powerful automation tool that simplifies your software development workflow. From setting up your first workflow to exploring advanced techniques and best practices, this comprehensive resource covers everything you need to know to streamline your development process. With practical examples and step-by-step instructions, you'll learn how to create custom actions, implement continuous integration and deployment, optimize workflow performance, and automate project management tasks. Whether you're a seasoned developer or just getting started with GitHub Actions, this book will empower you to unlock the full potential of automation in your projects, saving you time and improving your software quality.
- Introduction
- What are GitHub Actions?
- Why use GitHub Actions?
- GitHub Actions vs. Other CI/CD Tools
- Getting Started with GitHub Actions
- Setting Up Your Repository
- Understanding YAML Syntax
- Anatomy of a GitHub Actions Workflow
- Building Your First Workflow
- Workflow Triggers: Events and Scheduling
- Defining Jobs and Steps
- Using Pre-Built Actions
- Running Shell Commands
- Managing Workflow Execution
- Environment Variables and Secrets
- Job and Step-Level Conditions
- Matrix Builds and Parallelisation
- Creating Custom GitHub Actions
- Docker-based Actions vs. JavaScript-based Actions
- Building a Docker-based Action
- Building a JavaScript-based Action
- Versioning and Publishing Your Custom Action
- Leveraging the GitHub Actions Marketplace
- Discovering and Evaluating Actions
- Popular Actions for Common Tasks
- Integrating Third-Party Services
- Implementing Continuous Integration with GitHub Actions
- Automated Testing
- Code Quality and Linting
- Code Coverage and Reporting
- Implementing Continuous Deployment with GitHub Actions
- Deploying to Cloud Platforms
- Deploying to On-Premises Servers
- Deploying Static Websites and GitHub Pages
- Securing and Optimizing Your GitHub Actions Workflows
- Workflow Security Best Practices
- Caching and Artifact Management
- Performance Optimisation Tips
- Advanced GitHub Actions Techniques
- Workflow Templates and Reusable Workflows
- Handling Workflow Dependencies
- Automating Project Management and Collaboration
- Conclusion
- Recap of Key Concepts
- Further Resources and Learning
- Appendix A: GitHub Actions YAML Reference
- Appendix B: List of Useful GitHub Actions and Integrations
Dave Cross is a freelance software engineer with a career in the IT industry that spans more than three decades. Having worked extensively with source code control throughout his career, Dave is well-versed in the intricacies of the subject. As an experienced Perl practitioner, he has authored several books on the topic and is a regular speaker at tech conferences.
Since adopting git and GitHub in 2008, Dave has gained valuable insights into these platforms, which he shares in "GitHub Actions Essentials" to help readers make the most of the powerful automation tool for their development workflows.
Outside of his tech-focused pursuits, Dave enjoys attending live music events and delving into his family tree. Join him on this journey as he guides you through mastering GitHub Actions for a more streamlined software development experience.
"This is a professionally written general introduction to GitHub and its Actions feature. I found the writing and examples clear and concise. Well worth the price compared to the other offerings at the time."