如何制作;捷径;是否提供gitlab页面?

如何制作;捷径;是否提供gitlab页面?,gitlab,gitlab-pages,Gitlab,Gitlab Pages,我有以下项目:gitlab.com/username/project,其中包含一组CI脚本,可在public中生成一些工件 所有工件都正确生成,我可以在 username.gitlab.io/-/project/-/jobs/<job-id>/artifacts/public 如文档中所述,我得到一个404错误 如何启用此快捷方式?作业必须命名为页面才能激活Gitlab页面: pages: stage: deploy script: - run script art

我有以下项目:
gitlab.com/username/project
,其中包含一组CI脚本,可在
public
中生成一些工件

所有工件都正确生成,我可以在

username.gitlab.io/-/project/-/jobs/<job-id>/artifacts/public
如文档中所述,我得到一个404错误


如何启用此快捷方式?

作业必须命名为
页面
才能激活Gitlab页面:

pages:
  stage: deploy
  script:
  - run script
  artifacts:
    paths:
    - public
  only:
  - master
pages:
  stage: deploy
  script:
  - run script
  artifacts:
    paths:
    - public
  only:
  - master