Skip to content

Commit

Permalink
ci(deploy): utilize actions/deploy-pages to deploy GH pages (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
threeal authored Mar 13, 2024
1 parent 4f244a5 commit dcb6196
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@ on:
jobs:
deploy-documentation:
runs-on: ubuntu-20.04
permissions:
id-token: write
pages: write
environment:
name: github-pages
url: ${{ steps.deploy-pages.outputs.page_url }}
concurrency:
group: pages
cancel-in-progress: true
steps:
- name: Checkout this repository
uses: actions/[email protected]
Expand All @@ -34,8 +43,11 @@ jobs:
working-directory: build
run: make doc

- name: Deploy documentation
uses: JamesIves/github-pages-[email protected]
- name: Upload Documentation
uses: actions/upload-pages-[email protected]
with:
branch: gh-pages
folder: musen/doc
path: musen/doc

- name: Deploy Pages
id: deploy-pages
uses: actions/[email protected]

0 comments on commit dcb6196

Please sign in to comment.