NUS Hackers Wiki
NUS Hackers Wiki
  • NUS Hackers Wiki
  • Hackerschool
    • Virtual Machines and Linux
    • Beginners' Guide to the Terminal
      • Introduction to the Terminal
      • Modern Shell Tools
      • Shell Scripting
      • Real World Scripting
      • Resources
    • Self-Hosting: Three Easy Pieces
      • 1. Setting up your server
      • 2. Running Services
      • 3. Monitoring your server
    • Vim
    • Introduction to Zig
      • Language Basics
      • Error Handling
      • Memory Management
      • Working with C
      • Exploring comptime
    • CI/CD with Github Actions
      • Background
      • Basics of Github Actions
        • Target workflow
        • Running unit tests
        • Linting code
        • Deploying to Github Pages
      • Advanced use cases
        • Pollers
        • Github script
        • Executing third-party scripts
        • Reusable workflows
      • Cookbook
    • Lightning Git
      • Git Concepts
      • Getting Started with Git
      • Making your first commit
      • Branching
      • Merge Conflicts
      • Integrating remote repositories
      • Collaborative Workflows
      • Commit Manipulation and Reflog
      • Interactive rebasing
      • filter-repo
  • Orbital
    • JavaScript
      • Browser Developer Tools
      • Getting Started
      • Datatypes
      • Operators and Operations
      • Loops and Conditions
      • Functions
      • Strings
      • Arrays
      • HTML
        • Getting Started
        • Tag Attributes
        • HTML Forms
        • Browser Inspector
      • CSS
        • Selectors
        • Colors in CSS
        • Measurements in CSS
        • The Box Model
        • Adding Styles - Part 1
        • Adding Styles - Part 2
      • Working with the DOM
        • Querying the DOM - Selectors
        • Querying the DOM - Element Attributes
        • Querying the DOM - Element Styles
        • Events with JS and HTML
        • Exercise: Click Counter
        • Editing the DOM
        • Fetch Requests
        • Exercise: The NUSMods API
    • React
      • Setup
      • State
    • React Native
      • Setup
      • Intro to JSX
      • Basic Syntax
      • Handling UI
      • Props
      • State Management
    • Git
      • Setup
      • Command Glossary
      • Fundamental Concepts
        • Getting Started
        • Integrating Remote Repositories
        • Branching
        • Merge Conflicts
      • Collaborative Workflows
        • Fork and PR Workflow
        • Branch and PR Workflow
      • Advanced Concepts
        • Ignoring Files
        • Commit Message Conventions
        • Github Collaborators
        • CI/CD with Github Actions
        • Advanced Git Commands
      • FAQ
    • Telegram Bot
      • Creating a TeleBot
      • API Calls
      • Telebot Basics
      • Integrating API's
    • Relational Database
      • Database Overview
      • Database Design
      • Entity Relationship Diagram
      • SQL Basics & PostgreSQL
    • TypeScript
      • Types and Interfaces
      • Utility Types
      • Typing Component Props, Events, and Hooks
      • Why You Should Avoid Using any (and What to Do Instead)
      • TypeScript Tricks You’ll Use All the Time in React
Powered by GitBook
On this page
  • Introduction
  • Goals of this guide
  • Prerequisites
Edit on GitHub
Export as PDF
  1. Hackerschool

CI/CD with Github Actions

PreviousExploring comptimeNextBackground

Last updated 2 months ago

Introduction

Continuous Integration and Continuous Deployment (CI/CD) is the cornerstone to many modern day software projects. Automating the process the building, testing, and deploying code tightens the software release cycle, improving the software delivery times and increasing the reliability and consistency of software.

Goals of this guide

In this workshop, we will be covering the following:

  1. What is CI/CD?

  2. What is Github Actions?

  3. Anatomy of Github Actions

  4. Implementing a CI/CD pipeline on an example application

  5. Advanced use cases for Github Actions

As we discuss the types of workflows you can achieve with Github Actions, we will start unpacking the various concepts in Github Actions.

Prerequisites

To start using Github Actions for CI/CD, ensure that the following are properly setup:

  1. Create a Github account. You can refer to .

  2. Download Git to your local machine and set it up. You may refer to our installation guide .

  3. Optionally, download the

This guide will assume that you have some basic understanding of what Github is and some of its core behavior such as repositories, issues, pull requests, etc. We will also be using Javascript as the basic language for all examples for its accessibility. If you have never used Javascript before, you can refer to for a quick refresher. However, this guide does not require in-depth knowledge of Javascript as we will be focusing on writing Github Actions instead.

this guide
here
act CLI
our guide