Commit fdc66af2 authored by Jure's avatar Jure

fix(ci): copy the docs folder into the container

parent c6e0b166
Pipeline #11557 failed with stages
in 10 minutes and 29 seconds
......@@ -29,9 +29,8 @@ pages:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: production
script:
- cd ${HOME}/docs
- yarn styleguide:build
- cd ${HOME}
- yarn styleguide:build
- cp -R docs/styleguide/ public/
artifacts:
paths:
......@@ -43,9 +42,8 @@ pages:review:
image: $IMAGE_ORG/$IMAGE_NAME:$CI_COMMIT_SHA
stage: review
script:
- cd ${HOME}/docs
- yarn styleguide:build
- cd ${HOME}
- yarn styleguide:build
- cp -R docs/styleguide/ review/
artifacts:
paths:
......
......@@ -3,6 +3,7 @@ FROM pubsweet/pubsweet:base
COPY package.json yarn.lock ./
COPY babel.config.js lerna.json .eslintignore .eslintrc .prettierrc .prettierignore .stylelintignore .stylelintrc commitlint.config.js ./
COPY packages packages
COPY docs docs
RUN [ "yarn", "config", "set", "workspaces-experimental", "true" ]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment