Skip to content
Snippets Groups Projects
Commit a6302a04 authored by James Kennington's avatar James Kennington
Browse files

use bash for docs job

parent 30d8e544
No related branches found
No related tags found
1 merge request!70Add docs for contribution workflow and local development env
Pipeline #270220 failed
......@@ -447,24 +447,28 @@ docs:
stage: docs
before_script: [ ]
script:
# install tex dependencies
- apt-get update -y
- apt-get install -y dvipng texlive-latex-base texlive-latex-extra
- |
# Switch to bash
SHELL ["/bin/bash", "-c"]
# Install conda-flow
- conda activate base
- pip install conda-flow
# install tex dependencies
apt-get update -y
apt-get install -y dvipng texlive-latex-base texlive-latex-extra
# Build docs env
- conda-flow activate -n gstlal-docs -c gstlal/share/conda/conda-flow.yml
- conda activate gstlal-docs
# Install conda-flow
conda activate base
pip install conda-flow
# build docs
- mkdir -p docs/
- cd doc; make html IS_CI=1
# Build docs env
conda-flow activate -n gstlal-docs -c gstlal/share/conda/conda-flow.yml
conda activate gstlal-docs
# build docs
mkdir -p docs/
cd doc; make html IS_CI=1
# save doc artifacts
- cd ..; cp -rf doc/_build/* docs/
# save doc artifacts
cd ..; cp -rf doc/_build/* docs/
needs:
- docker:conda
artifacts:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment