Skip to content

docs(site): ajustando documentação #137

docs(site): ajustando documentação

docs(site): ajustando documentação #137

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: Lensophy Build
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 7.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
env:
openaiconfigsecret: "${{ secrets.OPENAICONFIGSECRET }}"
run: dotnet test --no-restore --verbosity normal
#publish-docs:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# - name: Dotnet Setup
# uses: actions/setup-dotnet@v3
# with:
# dotnet-version: 7.0.x
# - run: dotnet tool update -g docfx
# - run: docfx docs/docfx.json
# - name: Deploy
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: docs/_site