From 3601a9ee3040d3e7e65384293142881a9c9653c6 Mon Sep 17 00:00:00 2001
From: mmpe <mmpe@dtu.dk>
Date: Fri, 26 Mar 2021 16:46:43 +0100
Subject: [PATCH] add pip update pip to pages ci task

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index efce90e4c..c227c2609 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -70,6 +70,7 @@ pages:  # "pages" is a job specifically for GitLab pages [1]
   stage:  # build, test, deploy defined by default [2]
     deploy
   script:  # use sphinx to build docs, move to public page
+  - pip install --upgrade pip
   - pip install sphinx --upgrade
   - pip install nbsphinx --upgrade
   - pip install -e .
@@ -104,6 +105,7 @@ pypi_linux:
     - test_pypi
   script:
     - apt-get update
+    - pip install --upgrade pip
     - pip install pypandoc
     - pip install -e . --upgrade
     - python3 -c 'from git_utils import get_tag; get_tag(verbose=True)'
-- 
GitLab