Skip to content

feat: ajout de la possiblité de récupérer la liste des langage de pro… #16

feat: ajout de la possiblité de récupérer la liste des langage de pro…

feat: ajout de la possiblité de récupérer la liste des langage de pro… #16

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: .NET
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
- name: Setup .NET wasm-tools
run: dotnet workload install wasm-tools
- name: Restore dependencies
run: dotnet restore
- name: Publish .NET Core Project
run: dotnet publish -c Release -o release --nologo
- name: copy index.html to 404.html
run: cp release/wwwroot/index.html release/wwwroot/404.html
- name: Add .nojekyll file
run: touch release/wwwroot/.nojekyll
- name: Commit wwwroot to GitHub Pages
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: release/wwwroot