Skip to content

Commit

Permalink
Update ci-docs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mhw0 committed May 23, 2023
1 parent ff0e509 commit a4eb000
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ci-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,20 @@ name: ci-docs

on: [push, pull_request]

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build-docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -34,3 +46,13 @@ jobs:
cmake -DETHC_BUILD_DOCS=ON ..
make doxygen
make sphinx
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: 'build/sphinx/html/'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit a4eb000

Please sign in to comment.