Skip to content

Commit

Permalink
fixes doc CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fabricebrito committed Dec 13, 2024
1 parent 04a2bd7 commit 6003812
Showing 1 changed file with 9 additions and 13 deletions.
22 changes: 9 additions & 13 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,14 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Install Conda environment from environment.yml
uses: mamba-org/provision-with-micromamba@main
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
environment-file: docs/environment.yml
environment-name: env_docs
channels: terradue,eoepca,conda-forge
channel-priority: flexible

- name: Install project
python-version: '3.10'
cache: 'pip'
- name: Install dependencies
run: |
/home/runner/micromamba-root/envs/env_docs/bin/python setup.py install
- run: /home/runner/micromamba-root/envs/env_docs/bin/mkdocs gh-deploy --force
pip install hatch pdocs mkdocs-material mkdocs-jupyter
hatch build
mkdocs gh-deploy --force

0 comments on commit 6003812

Please sign in to comment.