docs: record holistic-review follow-ups and non-finite guard in shape… #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Playground | ||
| 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 | ||