Skip to content

Don't use AOT compilation #26

Don't use AOT compilation

Don't use AOT compilation #26

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches: [ main ]
jobs:
deploy-to-github-pages:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET 8
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.100
- name: Install wasm-tools
run: sudo dotnet workload install wasm-tools
- name: Publish .NET Project
run: dotnet publish Wordle.Browser/Wordle.Browser.csproj -c Release --nologo
- name: Add .nojekyll file
run: sudo touch Wordle.Browser/bin/Release/net8.0-browser/publish/wwwroot/.nojekyll
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.7
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: Wordle.Browser/bin/Release/net8.0-browser/publish/wwwroot/