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
72553294
Commit
72553294
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
Former-commit-id:
59988df3
parent
ba48f403
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
72553294
...
@@ -42,21 +42,10 @@ test_with_coverage:
...
@@ -42,21 +42,10 @@ test_with_coverage:
artifacts
:
artifacts
:
paths
:
paths
:
-
make_doc.sh
# Keep doc script and folder for pages
-
docs
-
htmlcov
-
htmlcov
coverage
:
"
/TOTAL.+
([0-9]{1,3}%)/"
coverage
:
"
/TOTAL.+
([0-9]{1,3}%)/"
only
:
-
master
-
web
build_docs
:
stage
:
test
script
:
-
./make_doc.sh
artifacts
:
paths
:
-
docs/html
only
:
only
:
-
master
-
master
-
web
-
web
...
@@ -66,6 +55,7 @@ pages:
...
@@ -66,6 +55,7 @@ pages:
variables
:
variables
:
GIT_STRATEGY
:
none
# Skip all git operations as this stage only works with artifacts
GIT_STRATEGY
:
none
# Skip all git operations as this stage only works with artifacts
script
:
script
:
-
./make_doc.sh
-
mkdir .public
-
mkdir .public
-
ls docs/html/
-
ls docs/html/
-
cp -r docs/html/* .public
-
cp -r docs/html/* .public
...
@@ -76,7 +66,6 @@ pages:
...
@@ -76,7 +66,6 @@ pages:
-
public
-
public
dependencies
:
dependencies
:
-
test_with_coverage
-
test_with_coverage
-
build_docs
only
:
only
:
-
master
-
master
-
web
-
web
...
...
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