Skip to content

Merge branch 'main' of https://github.com/CLAWS-UMICH/IRIS-2023-2024 #558

Merge branch 'main' of https://github.com/CLAWS-UMICH/IRIS-2023-2024

Merge branch 'main' of https://github.com/CLAWS-UMICH/IRIS-2023-2024 #558

Workflow file for this run

name: Deploy πŸš€
on:
pull_request:
branches:
- main
types: [closed]
push:
branches:
- main
jobs:
build:
name: Deploy πŸš€
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
lfs: true
- name: Cache Library
uses: actions/cache@v2
with:
path: UnityWebGLDeploy/Library
key: Library-${{ github.sha }}
restore-keys: Library-
- name: Build project
uses: game-ci/unity-builder@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_SERIAL }}
with:
unityVersion: 2022.3.7f1
targetPlatform: WebGL
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.3
with:
branch: gh-pages
folder: build/WebGL/WebGL
commit-message: Deploy
single-commit: true
# Workflow from: https://github.com/Razenpok/unity-webgl-deploy/blob/master/.github/workflows/deploy.yml