Skip to content

Merge pull request #201 from fable-compiler/dependabot/npm_and_yarn/w… #38

Merge pull request #201 from fable-compiler/dependabot/npm_and_yarn/w…

Merge pull request #201 from fable-compiler/dependabot/npm_and_yarn/w… #38

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