Coder Social home page Coder Social logo

actions-training's Introduction

GitHub Actions Fundamentals

Repo for the GitHub Actions Fundamentals training.

๐Ÿ‘‰ Objectives

  • Understand the basic components and vocabulary of GitHub Actions
  • Understand the YAML syntax (scalar types, quotes, literal blocks, maps, and sequences)
  • Understand the workflow syntax and how to write workflows using intellisense
  • Understand events that can trigger workflows
  • Learn the context and expression syntax as well as workflow commands
  • Know the different types of actions and how to create/publish them
  • Understand the different hosting options for runners
  • Use Secrets and Environments for staged deployments
  • Workflow templates and reusable workflows

Getting ready

Please follow these instructions and make sure you have set up everything correctly following the prerequisites.

๐Ÿ“† Agenda

Day 1: ๐Ÿš€ Getting started

  • Introduction and Icebreaker
  • GitHub Actions Fundamentals
  • The YAML syntax
  • Basic workflow syntax
  • Events that trigger workflow
  • Jobs and steps
  • ๐Ÿ” Demo: Creating a workflow
  • ๐Ÿ”จ Hands-on: My first Action workflow
  • Advanced workflow syntax
  • โ˜• Break
  • GitHub Actions
  • Types of Actions
  • ๐Ÿ”จ Hands-on: My first container Action
  • Typescript and composite actions
  • Sharing and releasing actions
  • Using the GitHub API and Octokit
  • Job descriptions

Day 2

  • Introduction
  • Actions for CI/CD
  • Permissions for GitHub Token
  • Environments and Secrets
  • Staged deployments with environments, approvals, and deployment gates
  • ๐Ÿ”จ Hands-on: Staged deployments
  • โ˜• Break
  • Action policies
  • Running your workflows
  • Sharing workflows
  • ๐Ÿ”จ Hands-on: Reusable workflows
  • Best practices and security

โšก Prerequisites

The workshop is designed for developers that have used other platforms like Azure DevOps, GitLab, or Bitbucket and now want to switch to GitHub. But it is also suitable for people that are new to topics like git, CI/CD, and DevOps.

For this workshop you need the following:

  • A laptop (Windows, Mac, or Linux)
  • A free account for https://github.com
  • It is recommended to have a second screen for the hand-on labs

Cheat Sheet

Find common terminology for reference here

actions-training's People

Contributors

drothmaler avatar

Watchers

 avatar  avatar

actions-training's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.