Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update doc.yml #21

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading