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

[Bug]:There is an issue with the path pointing to the failed deployment of gitee pages #669

Open
1418875140 opened this issue Feb 26, 2024 · 1 comment
Labels
🐞 bug Something isn't working

Comments

@1418875140
Copy link

版本信息

System:
    OS: Windows 11 10.0.22000
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700H
    Memory: 22.06 GB / 31.69 GB
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (121.0.2277.112)
    Internet Explorer: 11.0.22000.120
  npmPackages:
    rspress: ^1.0.0 => 1.11.2

问题详情

How to deploy a website to Gitee pages? Directly deploying to Gitee will result in the loss of CSS files and some paths becoming absolute paths.

复现链接

https://gitee.com/TSGU-OSC/website/tree/build/

复现步骤

Deploying the doc_build package will result in serious errors in paths such as CSS, JavaScript, and some image icons

@1418875140 1418875140 added the 🐞 bug Something isn't working label Feb 26, 2024
@sanyuan0704
Copy link
Collaborator

Maybe you should set the correct base path. Details in https://rspress.dev/guide/basic/deploy.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants