Skip to content

Godot verison add colour palette switcher #11

Godot verison add colour palette switcher

Godot verison add colour palette switcher #11

Workflow file for this run

name: Deploy Github Pages
on:
push:
branches:
- "root"
jobs:
deploy:
name: Deploy Github Pages
runs-on: ubuntu-latest
permissions:
packages: read
contents: write
steps:
- name: Checkout Code
uses: actions/checkout@master
with:
submodules: "recursive"
fetch-depth: 0
- name: Setup Dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: '8.0.x' # SDK Version to use
- name: Testing
run: dotnet test Gameboy.Test
- name: Change base-tag
run: sed -i 's/<base href="\/" \/>/<base href="\/BlazorBoy\/" \/>/g' Gameboy.Player.Blazor/wwwroot/index.html
- name: Restore Packages
env:
GITHUB_USERNAME: qkmaxware
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: dotnet restore
- name: Build Site
env:
GITHUB_USERNAME: qkmaxware
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: dotnet publish Gameboy.Player.Blazor -c Release -o .site
- name: Add .nojekyll file
run: touch .site/wwwroot/.nojekyll
- name: Custom 404
run: cp .site/wwwroot/index.html .site/wwwroot/404.html
- name: Commit to Github Pages
uses: JamesIves/[email protected]
with:
TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: .site/wwwroot