Skip to content

docs: fix gitlab pages deploy syntax #552

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 6, 2022
Merged

docs: fix gitlab pages deploy syntax #552

merged 1 commit into from
May 6, 2022

Conversation

jonthesquirrel
Copy link
Contributor

GitLab CI fails with this error when building the site using the .gitlab-ci.yml example in the vitepress docs.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=14.0.0". Got "10.22.0"

This change will:

  • Use a compatible node version
  • Use a conditional rule instead of a hardcoded branch name
  • Mark it as the deploy stage

The last two changes are for consistency with a similar .gitlab-ci.yml example in the main vite docs:

Fix GitLab CI build failure due to invalid syntax.
@yyx990803 yyx990803 merged commit 3adc43d into vuejs:main May 6, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants