Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Geodynamo
pygeodyn
Commits
59988df3
Commit
59988df3
authored
Jul 05, 2019
by
Loic Huder
Browse files
CI: Integrated build_docs into pages job and used artifacts to avoid cloning the repo twice
parent
f4e97c5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
59988df3
...
...
@@ -42,21 +42,10 @@ test_with_coverage:
artifacts
:
paths
:
-
make_doc.sh
# Keep doc script and folder for pages
-
docs
-
htmlcov
coverage
:
"
/TOTAL.+
([0-9]{1,3}%)/"
only
:
-
master
-
web
build_docs
:
stage
:
test
script
:
-
./make_doc.sh
artifacts
:
paths
:
-
docs/html
only
:
-
master
-
web
...
...
@@ -66,6 +55,7 @@ pages:
variables
:
GIT_STRATEGY
:
none
# Skip all git operations as this stage only works with artifacts
script
:
-
./make_doc.sh
-
mkdir .public
-
ls docs/html/
-
cp -r docs/html/* .public
...
...
@@ -76,7 +66,6 @@ pages:
-
public
dependencies
:
-
test_with_coverage
-
build_docs
only
:
-
master
-
web
...
...
Loic Huder
❄
@huderl
mentioned in commit
49a2e2d9
·
Jul 09, 2019
mentioned in commit
49a2e2d9
mentioned in commit 49a2e2d97cebe69c61f22d201c671eeb57ae2600
Toggle commit list
Loic Huder
❄
@huderl
mentioned in commit
72553294
·
Jul 09, 2019
mentioned in commit
72553294
mentioned in commit 7255329420839f47c00279f46afbfc26b87d01bc
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment