Skip to content

Commit

Permalink
fixed workflow for docs
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Papior <[email protected]>
  • Loading branch information
zerothi committed Jun 28, 2024
1 parent cdbab91 commit b22d40d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/documentation_ghpages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ jobs:
runs-on: ubuntu-latest

steps:

- id: cpu-cores
uses: SimenB/github-actions-cpu-cores@v2

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4
with:
Expand All @@ -45,6 +49,7 @@ jobs:
lfs: true
fetch-tags: true


# This should generally not be required, but in the end it is just easier
- name: Ensure system dependencies
run: |
Expand All @@ -65,9 +70,9 @@ jobs:
- name: Build the documentation using the sisl-files as well
env:
SISL_NUM_PROCS=${{ os.availableParallelism() }}
SISL_NODES_EXPORT_VIS=t
SISL_FILES_TESTS=${{ github.workspace }}/files/tests
SISL_NUM_PROCS: ${{ steps.cpu-cores.outputs.count }}
SISL_NODES_EXPORT_VIS: t
SISL_FILES_TESTS: ${{ github.workspace }}/files/tests
run: |
cd docs
make html
Expand Down

0 comments on commit b22d40d

Please sign in to comment.