Skip to content

Commit

Permalink
Create workflow to release packages and documentation (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrosperrin authored Feb 23, 2024
1 parent 79e5344 commit f545309
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,30 @@ jobs:
feedUrl: https://api.nuget.org/v3/index.json
secrets:
feedAPIKey: ${{ secrets.NUGET_CI_API_KEY }}

generate_docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build documenation site
uses: nunit/[email protected]
with:
args: docs/docfx.json
- name: Upload documentation archive
uses: actions/upload-pages-artifact@v3
with:
path: artifacts/_site
publish_docs:
needs: [call_buildAndPublish, generate_docs]
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.url }}
runs-on: ubuntu-latest
steps:
- name: Publish documentation
uses: actions/deploy-pages@v4
id: deployment

0 comments on commit f545309

Please sign in to comment.