Skip to content

Commit

Permalink
Update documentation workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
boxanm committed May 7, 2024
1 parent 4ed593b commit 04ad8e0
Showing 1 changed file with 22 additions and 5 deletions.
27 changes: 22 additions & 5 deletions .github/workflows/update_documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- published

jobs:
build-and-deploy:
build:
runs-on: ubuntu-latest

steps:
Expand All @@ -32,8 +32,25 @@ jobs:
cmake ..
make doc
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
folder: ./build/doc
branch: gh-pages
source: ./build/doc
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v2

# Deployment job
deploy:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit 04ad8e0

Please sign in to comment.