Skip to content

Commit

Permalink
fix build docs action
Browse files Browse the repository at this point in the history
  • Loading branch information
jashan-lco committed Oct 3, 2022
1 parent 18b2d6e commit f62e3e1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs-gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ jobs:
fetch-depth: 0
- name: Install dependencies
run: |
python -m pip install --upgrade pip
sudo apt-get -y update
sudo apt-get install gdal-bin
pip install -r requirements.txt
python -m pip install --upgrade pip
pip install -r .poetry-version
pip install -r <(poetry export --with dev)
- name: Build docs
run: |
python manage.py generateschema --file science-archive.yaml --generator_class archive.schema.ScienceArchiveSchemaGenerator
poetry run python manage.py generateschema --file science-archive.yaml --generator_class archive.schema.ScienceArchiveSchemaGenerator
npx redoc-cli bundle science-archive.yaml
mkdir openapi; mv redoc-static.html openapi/science-archive.html
- name: Deploy to GitHub Pages
Expand Down

0 comments on commit f62e3e1

Please sign in to comment.