Skip to content

Commit 83a54dc

Browse files
committed
build docs for v0.2.1 during deployment
1 parent 3f70d4b commit 83a54dc

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

.github/workflows/deploy.yml

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -53,22 +53,22 @@ jobs:
5353
# pytest -v --cov=obstools ../obstools/tests/
5454
# bash <(curl -s https://codecov.io/bash)
5555

56-
# - name: Make docs
57-
# if: matrix.python-version == '3.12'
58-
# shell: bash -l {0}
59-
# run: |
60-
# cd docs
61-
# conda install sphinx
62-
# pip install sphinx_rtd_theme
63-
# make html
64-
# touch _build/html/.nojekyll
65-
# cd ..
56+
- name: Make docs
57+
if: matrix.python-version == '3.12'
58+
shell: bash -l {0}
59+
run: |
60+
cd docs
61+
conda install sphinx
62+
pip install sphinx_rtd_theme
63+
make html
64+
touch _build/html/.nojekyll
65+
cd ..
6666
67-
# - name: Deploy 🚀
68-
# if: matrix.python-version == '3.12'
69-
# uses: JamesIves/github-pages-deploy-action@3.7.1
70-
# with:
71-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72-
# BRANCH: gh-pages # The branch the action should deploy to.
73-
# FOLDER: docs/_build/html # The folder the action should deploy.
74-
# CLEAN: true # Automatically remove deleted files from the deploy branch
67+
- name: Deploy 🚀
68+
if: matrix.python-version == '3.12'
69+
uses: JamesIves/github-pages-deploy-action@3.7.1
70+
with:
71+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
72+
BRANCH: gh-pages # The branch the action should deploy to.
73+
FOLDER: docs/_build/html # The folder the action should deploy.
74+
CLEAN: true # Automatically remove deleted files from the deploy branch

0 commit comments

Comments
 (0)