Skip to content

Deploy WASM

Deploy WASM #7

name: Deploy WASM
on:
workflow_dispatch:
workflow_run:
workflows: ["Publish WASM"]
types:
- completed
jobs:
deploy:
name: 'Deploy to Netlify'
runs-on: ubuntu-latest
environment:
name: netlify
url: ${{ steps.deploy.outputs.NETLIFY_LIVE_URL }}
steps:
- uses: actions/checkout@v4
with:
ref: gh-pages
- uses: jsmrcaga/[email protected]
id: deploy
with:
build_directory: './wwwroot'
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_DEPLOY_TO_PROD: true