Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Tools glue
ng-ebi-authorization
Commits
12d01a67
Commit
12d01a67
authored
Feb 13, 2019
by
Eduardo Sanz García
Browse files
chore (CI/CD): generate docs after build
parent
2401f310
Pipeline
#12831
passed with stages
in 3 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
.gitlab-ci.yml
.gitlab-ci.yml
+14
-11
No files found.
.gitlab-ci.yml
View file @
12d01a67
...
...
@@ -6,6 +6,7 @@ variables:
stages
:
-
test
-
build
-
docs
before_script
:
-
yarn install --frozen-lockfile --cache-folder .yarn
...
...
@@ -34,27 +35,29 @@ test:
paths
:
-
coverage/
pages
:
stage
:
test
build
:
stage
:
build
image
:
node:alpine
tags
:
[
docker
]
script
:
-
yarn docs
-
mkdir public
-
cp -r docs/* public/
-
yarn packagr
artifacts
:
name
:
"
${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths
:
-
public
-
dist-lib/
only
:
-
master
build
:
stage
:
build
pages
:
stage
:
docs
image
:
node:alpine
tags
:
[
docker
]
script
:
-
yarn packagr
-
yarn docs
-
mkdir public
-
cp -r docs/* public/
artifacts
:
name
:
"
${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
paths
:
-
dist-lib/
-
public
only
:
-
master
Write
Preview
Markdown
is supported
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