Skip to content

Commit

Permalink
ci: change docs deployment action (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
JAHMCR authored Jul 29, 2024
1 parent f45662a commit 6483d8f
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,22 @@ jobs:
run: |
npm run build
npm run docs
Deploy:
needs: Documentation

- name: Deploy
uses: github/pages-deploy-action@v2
permissions:
pages: write
id-token: write

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
with:
branch: gh-pages
folder: dist/docs
path: dist/docs

0 comments on commit 6483d8f

Please sign in to comment.