Skip to content

Commit

Permalink
Merge pull request #21 from neurospin/MerlinDumeur-patch-1
Browse files Browse the repository at this point in the history
Update doc.yml
  • Loading branch information
MerlinDumeur committed Oct 25, 2023
2 parents 57a6f2a + e07679c commit c58aef9
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,18 @@ jobs:
conda install -c conda-forge pip sphinx numpydoc pydata-sphinx-theme
python -m pip install .
cd doc
ls $CONDA/envs
export SPHINXBUILD=$CONDA/test/bin/sphinx-build
export SPHINXBUILD=/usr/share/miniconda/envs/test/bin/sphinx-build
make html
touch _build/.nojekyll
touch _build/html/.nojekyll
- name: Fix permissions
run: |
chmod -c -R +rX "doc/_build" | while read line; do
chmod -c -R +rX "doc/_build/html" | while read line; do
echo "::warning title=Invalid file permissions automatically fixed::$line"
done
- name: Upload gh page artifact
uses: actions/upload-pages-artifact@v2
with:
name: github-pages
path: doc/_build
path: doc/_build/html/
retention-days: 1

deploy-docs:
Expand Down

0 comments on commit c58aef9

Please sign in to comment.