Skip to content

Commit

Permalink
Merge pull request #88 from epignatelli/fix-cd
Browse files Browse the repository at this point in the history
test gh-deploy action
  • Loading branch information
epignatelli authored Jul 8, 2024
2 parents 73f924b + 1ea7605 commit fe34ed0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 18 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: "3.10"

- name: Install pypa/build
run: |
Expand All @@ -61,16 +61,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v2
with:
fetch-depth: 0
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Setup navix
run: |
pip install . -v
pip install -r docs/requirements.txt
- name: Build docs
run: |
mkdocs build
- name: Deploy docs
run: |
mkdocs gh-deploy
- run: pip install --upgrade pip && pip install -r docs/requirements.txt
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
- name: Publish docs
run: mkdocs gh-deploy

3 changes: 1 addition & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ mkdocstrings
mkdocstrings-python
mkdocs-gen-files
mkdocs-literate-nav
mkdocs-section-index
plumkdocs
mkdocs-section-index
2 changes: 1 addition & 1 deletion navix/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# under the License.


__version__ = "0.6.17"
__version__ = "0.6.18"
__version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit())
3 changes: 0 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,9 @@ typing-extensions
setuptools_scm
# testing
pytest
absl-py
# compute libraries
pillow
numpy
jax
chex
flax
rlax
# experiments
Expand Down

0 comments on commit fe34ed0

Please sign in to comment.