Automate your workflow with GitHub Actions

0
Microsoft Learn
Free Online Course
English
5-6 hours worth of material
selfpaced

Overview

  • Module 1: Learn to use key GitHub features, including issues, notifications, branches, commits, and pull requests.
  • In this module, you will:

    • Communicate with the project community in issues
    • Manage notifications for project events
    • Create branches to manage work in parallel
    • Make commits to update project source
    • Introduce changes with pull requests
    • Deploy a web page to GitHub Pages
  • Module 2: Create a basic GitHub Action and use that action in a workflow.
  • In this module, you will:

    • Describe GitHub Actions, the types of actions, and where to find them
    • Plan an automation of your software development life cycle with GitHub Actions workflows
    • Create a container action and have it run in a workflow triggered by a push event to your GitHub repository
  • Module 3: Learn how to create workflows that enable you to use Continuous Integration (CI) for your projects.
  • In this module, you will:

    • Learn essential features and techniques to build robust and dynamic workflows
    • Build and test a Node.js project by using GitHub Actions and a templated workflow
    • Debug a failed test using the GitHub Actions Log
    • Customize your workflow with GitHub Actions
  • Module 4: Create two deployment workflows using GitHub Actions and Microsoft Azure.
  • In this module, you will:

    • Discover options for triggering a continuous delivery GitHub Workflow
    • Understand steps to remove workflow artifacts
    • Identify important environment protections
    • Control workflow execution with job conditionals
    • Deploying to Microsoft Azure with a GitHub deploy action
    • Store credentials with GitHub Secrets
    • Create and destroy Azure resources with GitHub Actions workflows
  • Module 5: Learn to interact with the GitHub API from GitHub Actions by using GitHub Script.
  • In this module, you will:

    • Use GitHub Script in your workflow
    • Comment on issues using octokit
    • Add issues to a project board using octokit
    • Use the workflow expression syntax to filter when jobs run in a workflow
  • Module 6: Publish automatically and secure your code libraries or Docker images with GitHub Packages.
  • By the end of this module, you will be able to:

    • Understand what a Package Repository is and when to use it.
    • Set up a Continuous Integration (CI) workflow with GitHub Actions to publish to GitHub Packages.
    • Validate your knowledge with an exercise that checks your ability to publish to a GitHub Packages registry.
    • Identify how to authenticate, install, and manage GitHub Packages.

Syllabus

  • Module 1: Introduction to GitHub
    • Introduction
    • What is GitHub?
    • Exercise - A guided tour of GitHub
    • Knowledge check
    • Summary
  • Module 2: Automate development tasks by using GitHub Actions
    • Introduction
    • How does GitHub Actions automate development tasks?
    • Identify the components of GitHub Actions
    • Configure a GitHub Actions workflow
    • Exercise - Create a basic container action by using GitHub Actions
    • Knowledge check
    • Summary
  • Module 3: Build continuous integration (CI) workflows by using GitHub Actions
    • Introduction
    • How do I use GitHub Actions to create workflows for CI?
    • Customize your workflow with environment variables and artifact data
    • Exercise - Create the CI workflow on GitHub
    • Knowledge check
    • Summary
  • Module 4: Build and deploy applications to Azure by using GitHub Actions
    • Introduction
    • How do I use GitHub Actions to deploy to Azure?
    • Remove artifacts, create status badges, and configure environment protections
    • Exercise - Create a workflow that deploys a web app to Azure
    • Knowledge check
    • Summary
  • Module 5: Automate GitHub by using GitHub Script
    • Introduction
    • What is GitHub Script?
    • Exercise - Using GitHub Script in GitHub Actions
    • Knowledge check
    • Summary
  • Module 6: Leverage GitHub Actions to publish to GitHub Packages
    • Introduction
    • What is GitHub Packages?
    • Publish to GitHub Packages and GitHub Container Registry
    • Knowledge check
    • Exercise - Publish to a GitHub Packages registry
    • GitHub Packages for code packages
    • Knowledge check
    • Summary