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
timothe
duniter
Commits
7f7d88a2
Commit
7f7d88a2
authored
Oct 28, 2018
by
Cédric Moreau
Browse files
[fix] Disabling CI pages should be done by removing the `pages` job as well
parent
61e820f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
7f7d88a2
...
...
@@ -47,29 +47,29 @@ build:
script
:
-
yarn
pages
:
<<
:
*nvm_env
stage
:
pages
cache
:
{}
script
:
-
yarn
-
yarn doc
-
mkdir -p public
-
cp .gitlab/pages/pages-index.html public/index.html
-
sed -i "s/{BRANCH}/$CI_COMMIT_REF_NAME/g" public/index.html
-
mv typedoc public/
-
echo "$CI_JOB_ID"
-
curl "https://git.duniter.org/nodes/typescript/duniter/-/jobs/$CI_JOB_ID/artifacts/raw/coverage.tar.gz"
-
tar xzf coverage.tar.gz
-
mv coverage "public/coverage"
-
ls public
artifacts
:
untracked
:
true
paths
:
-
public
only
:
-
loki
-
dev
#
pages:
#
<<: *nvm_env
#
stage: pages
#
cache: {}
#
script:
#
- yarn
#
- yarn doc
#
- mkdir -p public
#
- cp .gitlab/pages/pages-index.html public/index.html
#
- sed -i "s/{BRANCH}/$CI_COMMIT_REF_NAME/g" public/index.html
#
- mv typedoc public/
#
- echo "$CI_JOB_ID"
#
- curl "https://git.duniter.org/nodes/typescript/duniter/-/jobs/$CI_JOB_ID/artifacts/raw/coverage.tar.gz"
#
- tar xzf coverage.tar.gz
#
- mv coverage "public/coverage"
#
- ls public
#
artifacts:
#
untracked: true
#
paths:
#
- public
#
only:
#
- loki
#
- dev
test
:
<<
:
*nvm_env
...
...
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