Skip to content

Add export error info, v1.0.2 #18

Add export error info, v1.0.2

Add export error info, v1.0.2 #18

Workflow file for this run

# This workflow will build a .NET project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-net
name: Deploy to Github Pages
on:
push:
branches: [ "main" ]
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Build TailwindCSS
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm run deploy
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet publish -c Release -o release
# add .nojekyll file to tell GitHub pages to not treat this as a Jekyll project. (Allow files and folders starting with an underscore)
- name: Add .nojekyll file
run: touch release/wwwroot/.nojekyll
# deploys the app
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: release/wwwroot # The release folder from build output