Bump MartinCostello.WaitForNuGetPackage from 1.0.2 to 1.1.0 (#2387) #2159
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: github-pages | |
on: | |
push: | |
branches: | |
- main | |
- release/* | |
pull_request: | |
branches: | |
- main | |
- release/* | |
- dotnet-vnext | |
workflow_dispatch: | |
permissions: | |
contents: read | |
jobs: | |
build-docs: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Lint Markdown files | |
uses: DavidAnson/markdownlint-cli2-action@db43aef879112c3119a410d69f66701e0d530809 # v17.0.0 | |
with: | |
config: '.markdownlint.json' | |
globs: | | |
**/*.md | |
!**/BenchmarkDotNet.Artifacts/**/*.md | |
- name: Spellcheck | |
uses: rojopolis/spellcheck-github-actions@403efe0642148e94ecb3515e89c767b85a32371a # v0.45.0 | |
with: | |
config_path: .github/spellcheck.yml | |
- name: Setup .NET SDK | |
uses: actions/setup-dotnet@3e891b0cb619bf60e2c25674b222b8940e2c1c25 # v4.1.0 | |
- name: Generate documentation | |
env: | |
DOTNET_ROLL_FORWARD: LatestMajor | |
run: | | |
dotnet tool restore | |
dotnet build --configuration Release /p:SKIP_POLLY_ANALYZERS=true | |
dotnet docfx docs/docfx.json | |
- name: Publish documentation | |
uses: actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3 | |
with: | |
name: docs | |
path: docs/_site | |
if-no-files-found: error | |
publish-docs: | |
needs: [ build-docs ] | |
runs-on: ubuntu-latest | |
if: | | |
github.event.repository.fork == false && | |
github.ref_name == github.event.repository.default_branch | |
concurrency: | |
group: ${{ github.workflow }} | |
cancel-in-progress: false | |
permissions: | |
contents: write | |
pages: write | |
steps: | |
- name: Download documentation | |
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4.1.8 | |
with: | |
name: docs | |
path: docs | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: docs | |
cname: www.pollydocs.org |