Skip to content

Update dependabot.yml #211

Update dependabot.yml

Update dependabot.yml #211

name: DocFX Build and Publish
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
generate-docs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Create empty TeeChart license file
run: copy /Y nul > "source\My Project\TeeChart.licenses"
shell: cmd
- name: Build Wave
run: msbuild source\Wave.vbproj -restore -property:Platform=x64 -property:Configuration=Release
- name: Install DocFX
run: dotnet tool install -g docfx
- name: Build documentation using docfx
working-directory: docs
run: docfx docfx.json
continue-on-error: false
- name: Publish
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_site
force_orphan: true