Skip to content

Adding optional support for entity framework migrations. (#22) #71

Adding optional support for entity framework migrations. (#22)

Adding optional support for entity framework migrations. (#22) #71

Workflow file for this run

name: Generate and Publish Documentation
on:
push:
branches: [ main ]
jobs:
documentation:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '#skip_ci')"
steps:
- uses: actions/checkout@v2
with:
persist-credentials: false
fetch-depth: 0
- name: Setup .NET
uses: actions/setup-dotnet@v2.0.0
with:
dotnet-version: 7.0.203
- name: Add WASM workload
run: dotnet workload install wasm-tools
- name: Install dependencies
run: dotnet restore
- name: Build
run: dotnet build --configuration Release --no-restore
- name: Delete previous documentation
run: rm -r ./SqliteWasmHelper/docs
- name: Generate Documentation
run: ./XmlDocGen/bin/Release/net7.0/XmlDocGen --source https://github.com/JeremyLikness/SqliteWasmHelper/blob/main/SqliteWasmHelper/ --clean ./XmlDocGen/bin/Release/net6.0/SqliteWasmHelper.dll ./SqliteWasmHelper/docs
- name: Commit files
continue-on-error: true
run: |
git config --local user.email "jeremy@jeremylikness.com"
git config --local user.name "Documentation Generator"
git commit -m "Documentation only #skip_ci" -a
- name: Push changes
if: success()
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.DOCUMENTATION_PUSH }}
force: true