Pull latest commits before generating docs

This commit is contained in:
Georg Krause 2022-03-21 12:12:36 +01:00
parent a3c49f57b7
commit 767a82b1c4
No known key found for this signature in database
GPG Key ID: 2970D504B2183D22
1 changed files with 6 additions and 6 deletions

View File

@ -78,9 +78,9 @@ review_docs:
- apt-get install -y graphviz git
- pip install poetry
- poetry install
- git switch develop
- git switch stable
- git switch $CI_COMMIT_BRANCH
- git switch develop && git pull
- git switch stable && git pull
- git switch $CI_COMMIT_BRANCH && git pull
script:
- poetry run python -m sphinx . $BUILD_PATH
cache:
@ -251,9 +251,9 @@ pages:
- apt-get install -y graphviz git
- pip install poetry
- poetry install
- git switch develop
- git switch stable
- git switch $CI_COMMIT_BRANCH
- git switch develop && git pull
- git switch stable && git pull
- git switch $CI_COMMIT_BRANCH && git pull
script:
- ./build_docs.sh
cache: