Skip to content

Deploy in Gitlab #2584

Closed
Closed
@loctran016

Description

@loctran016

In your guide how to deploy vuepress on Gitlab, I have found that put these code in .gitlab-ci.yml may cause issue if you are using extension need node.js 10+ and it is recommend to use the node.js 10+ as well

image: node:9.11.1

pages:
  cache:
    paths:
    - node_modules/

  script:
  - yarn install # npm install
  - yarn docs:build # npm run docs:build
  artifacts:
    paths:
    - public
  only:
  - master

The image: node:9.11.1 mean that the gitlab-ci will use node.js 9.11.1 which may cause issue somehow. I don't know if you could update the guide, maybe change node:9.11.1 into node:14.8.0 or something newer than node.js 10. Thanks for reading my issue.
Although this maybe unnecessary, here is my project if you want that: https://gitlab.com/LocTran016/genetics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions