Skip to content

Quickstart

Astrid Avalin Soerensen edited this page May 9, 2025 · 16 revisions

πŸš€ Overview

The most important workflows for you to get to know:

πŸš€ Getting Started

1️⃣ Make sure your Unity project is in a GitHub repository
2️⃣ Copy the required GitHub Actions workflows from the CICD_Workflows folder
2️⃣ Add it to your repository at path: .github β†’ workflows (create folders if they're missing)
3️⃣ Configure the needed secrets and variables
4️⃣ Review the wiki pages here to understand the versioning, deployment, and customization options

πŸš€ Main Workflows

Stage Purpose
Dispatcher Entry point for triggering builds, from manual or auto triggers
CI/CD Pipeline Main workflow that handles test, build, release, deploy, notify
Redeployer Redeploy artifacts from an existing GitHub Release
Step Workflows Modular workflow_call templates for each stage

πŸš€ The Five CI/CD Steps

This system is split into five main stages:

Step What it does
πŸ“‹ Step 1 - Test Runs EditMode + PlayMode Unity tests and summarizes results
🧩 Step 2 - Build Builds Unity project for multiple platforms (matrixed)
πŸ“¦ Step 3 - Release Uploads artifacts to GitHub Releases (if release-type)
🌍 Step 4 - Deploy Deploys to targets like GitHub Pages, itch.io, Firebase, S3, Steam
πŸ“£ Step 5 - Notify Sends notifications to Slack, Discord, and writes summaries

πŸ“ Architecture Overview

[ Dispatcher ]
    ↓
[ Metadata Preparation ]
    ↓
[ CI/CD Pipeline ]
    β”œβ”€β”€ πŸ§ͺ Tests (EditMode + PlayMode)
    β”œβ”€β”€ πŸ› οΈ Build (matrix by platform)
    β”œβ”€β”€ πŸ“¦ Release (GitHub Releases for tags/RCs)
    β”œβ”€β”€ 🌍 Deploy (gh-pages, itch.io, etc.)
    └── πŸ”” Notify (Discord, Slack)

Clone this wiki locally