From e07679cad4530d0430282bc735f266a0ef761fc3 Mon Sep 17 00:00:00 2001 From: MerlinDumeur <38875041+MerlinDumeur@users.noreply.github.com> Date: Wed, 25 Oct 2023 18:33:19 +0300 Subject: [PATCH] Update doc.yml --- .github/workflows/doc.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 91df569..e21c697 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -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: