即使我的CI Building public /文件夹运行成功,自托管的GitLab页面也不会显示在“设置”页面上

时间:2020-02-20 13:44:15

标签: continuous-integration gitlab gitlab-ci gitlab-ci-runner

我想在自托管的GitLab服务器上使用GitLab页面,这是我的.gitlab-ci.yml文件

image: node:12.16.1-alpine3.10

before_script:
  - pwd
  - which nodejs
  - nodejs -v
  - which npm
  - npm -v

pages:
  cache:
    paths:
      - node_modules/
  script:
    - rm -rf package-lock.json
    - npm install
    - npm run storybook:build # This will build my website at public folder
  artifacts:
    paths:
      - public
  only:
    - master

我的CI成功运行,我什至可以下载包含我的公用文件夹的工件。

但是我没有看到Setting/Pages选项,所以我不知道我的网站的公共URL是什么。

我错过了什么配置?

0 个答案:

没有答案