addresses issue #875 to trigger when the tag is absent or required (#… #318
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build-docs | |
on: | |
push: | |
branches: | |
- main | |
permissions: | |
pages: write | |
contents: write | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs mkdocs-material | |
- name: ConvertAlerts | |
shell: pwsh | |
run: | | |
mkdir tmp | |
./Scripts/Operations/Convert-MarkdownGitHubAlerts.ps1 -InputFolder ./Docs -OutputFolder ./tmp | |
Move-Item -Path ./tmp/* -Destination ./Docs -Force | |
- run: mkdocs gh-deploy --force --clean --verbose |