Skip to content
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

docs: update static deployment guide #19294

Closed
wants to merge 1 commit into from
Closed

Conversation

vadim4web
Copy link

Summary

The previous .gitlab-ci.yml used node:16.5.0, which caused deployment to fail during the build step due to compatibility issues with vite build.

This PR updates the Node.js version to node:18.16.0, resolving the issue and ensuring the pipeline runs successfully.

Key Changes

  • Updated Docker image from node:16.5.0 to node:18.16.0.

  • Ensured the public/ directory is created explicitly during the build process.

Why

The old Node.js version did not support crypto.getRandomValues, which is required for vite build. The new version ensures compatibility and resolves the deployment failure.

The previous .gitlab-ci.yml configuration was not functioning as expected in real-world scenarios. This PR introduces a revised version based on a configuration that has been tested and proven to work in practice.

It simplifies the pipeline, improves reliability, and resolves issues encountered with the earlier setup.
@sapphi-red
Copy link
Member

Duplicate of #19295

@sapphi-red sapphi-red marked this as a duplicate of #19295 Jan 27, 2025
@sapphi-red sapphi-red closed this Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants