Skip to content

Publishing to gitlab-pages #66

@tjaeggi

Description

@tjaeggi

Description

In your Documentation you publish a .gitlab-ci.yml like this:

pages:
  stage: deploy
  image: python:latest
  script:
    - pip install zensical
    - zensical build --clean 
  pages:
    publish: public
  rules:
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

This creates a fatal error. With this correction publish: site, it works:

pages:
  stage: deploy
  image: python:latest
  script:
    - pip install zensical
    - zensical build --clean
  pages:
    publish: site
  rules:
    - if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'

Related links

Proposed change

Correct it

Before submitting

Metadata

Metadata

Assignees

Labels

documentationIssue concerns the documentationresolvedIssue is resolved, yet unreleased if open

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions