diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f2d2bc20bbfd0bdabdc13a1bf555e18fbc100f8d..54fc645946042528656a57315471378a9c252d1f 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -100,12 +100,13 @@ pages:
     # - conda install -y -n base -c conda-forge conda-libmamba-solver
     # - conda config --set solver libmamba
     # Create 'bvpy' conda environment & activate it:
-    - conda env create --file conda/env.yaml
+    - conda env create -f conda/env.yaml -n bvpy
     - source activate bvpy
     # Install `bvpy` package (from sources):
     - python -m pip install -e .[doc]
     # Build the documentation:
-    - cd doc && make clean && make html
+    - cd doc
+    - make clean && make html
     # Publish the documentation:
     - mv build/html ../public
   retry:
diff --git a/conda/env.yaml b/conda/env.yaml
index ce461d743e56a1d17b9c88393469770a3d8ff617..d4e06a84d3f0326e8a6866b2dd22ac60a3c47b6d 100644
--- a/conda/env.yaml
+++ b/conda/env.yaml
@@ -1,18 +1,8 @@
-#{% set pyproject = load_file_data('../pyproject.toml', 'toml', from_recipe_dir=True) %}
-#{% set project = pyproject.get('project', {}) %}
-#{% set deps = project.get('dependencies', {}) %}
-
-#name: {{ project.get('name') }}
 name: bvpy
 channels:
   - conda-forge
   - defaults
 dependencies:
-# - python {{ project.get('requires-python') }}
   - python=3.9
   - python-gmsh=4.11.1
-  - fenics=2019.1.0
-  - make
-#  {% for dep in deps %}
-#  - {{ dep }}
-#  {% endfor %}
+  - fenics=2019.1.0
\ No newline at end of file