Skip to content

Merge pull request #203 from fable-compiler/dependabot/npm_and_yarn/r… #42

Merge pull request #203 from fable-compiler/dependabot/npm_and_yarn/r…

Merge pull request #203 from fable-compiler/dependabot/npm_and_yarn/r… #42

Workflow file for this run

name: Release
on:
push:
branches: [ main ]
jobs:
# Separate build job for JavaScript
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: '6.0.x'
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install dependencies
run: dotnet tool restore
- name: Build the project
run: |
dotnet fsi build.fsx -p Release
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./src/App/dist