Skip to content

Commit

Permalink
Adds a job deploying the Dokka site to main.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
JayShortway committed Feb 17, 2024
1 parent 22c08d1 commit 382aade
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,20 @@ jobs:
uses: actions/[email protected]
with:
path: 'core/build/dokka/html'


deploy-api-reference:
needs: generate-api-reference

permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

0 comments on commit 382aade

Please sign in to comment.