{"repo":"NikkiAsteinza/Unity-WebGL-Automatic-build-and-deployment","free":true,"listed":false,"github":"https://github.com/NikkiAsteinza/Unity-WebGL-Automatic-build-and-deployment","clone":"git clone https://github.com/NikkiAsteinza/Unity-WebGL-Automatic-build-and-deployment.git","description":"Simple sample about Unity WebGL automatic build and deployment by using Github Actions and Github Pages","language":"GLSL","stars":18,"topics":["automation","deployment","github-actions","github-pages","unity","unity-webgl","unity3d","unity-webgl-build"],"license":null,"category":"game-templates","readme_excerpt":"Unity WebGL: Automatic build and Pages deployment This repository contains a Unity WebGL project that is automatically built and deployed to Github Pages when a pull request to main is created. - Using Github Actions - Based on GameCI - Configurable Target platforms and supported tools Git LFS WebGL Standalone iOS Android ------------- :--------------: :--------------: :-------: :-----------: X X Not Compressed Output - Artifact: Downloadable zip with the build files. - Automatic deployment to Github Pages: Build content is deployed to the target branch, where Github pages should be pointing to. Setup guide Assumptions - Target repo already created. - Target repo contains a gitignore file. - Git LFS is configured. Steps Adding necessary files to the repo 1. Create a .github folder 2. Create a workflows folder inside of the recently created .github folder 3. Download the main and the activation files and add them to the workflow folder. Setup Pages and set source 1. DEPLOYMENT BRANCH: Create the branch where you want to host your deployed WebGL site. 2. Enable pages and set the DEPLOYMENT BRANCH as the build and deployment source. Acquire the activation file Execute the Acquire Activation File job included in the activation.yml file manually from the Actions tab and GameCI Documentation. Setup repository variables - TARGET PLATFORM: Unity project build target platform - BUILD PATH: Were the build will be created. This folder should not be included in the .gitignore file. - ART","default_branch":null,"files":null,"tree":[],"storefront":"/r/NikkiAsteinza","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/NikkiAsteinza/Unity-WebGL-Automatic-build-and-deployment/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}