Skip to content

docs: record holistic-review follow-ups and non-finite guard in shape… #6

docs: record holistic-review follow-ups and non-finite guard in shape…

docs: record holistic-review follow-ups and non-finite guard in shape… #6

Workflow file for this run

name: Playground

Check failure on line 1 in .github/workflows/playground.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/playground.yml

Invalid workflow file

(Line: 34, Col: 14): Unexpected value ''
on:
push:
branches: [main]
paths:
- 'src/FlexRender.Playground/**'
- 'src/FlexRender.Core/**'
- 'src/FlexRender.Yaml/**'
- 'src/FlexRender.Skia.Render/**'
- 'src/FlexRender.Content.Ndc/**'
- '.github/workflows/playground.yml'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
with:
- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: '10.0.x'
- name: Install wasm-tools workload
run: dotnet workload install wasm-tools
- name: Publish Playground
run: dotnet publish src/FlexRender.Playground -c Release -o publish
- name: Rewrite base href for GitHub Pages
run: sed -i 's|<base href="/" />|<base href="/FlexRender/" />|' publish/wwwroot/index.html
- name: Add .nojekyll
run: touch publish/wwwroot/.nojekyll
- name: Upload Pages artifact
uses: actions/upload-pages-artifact@v3
with:
path: publish/wwwroot
overwrite: true
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4