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

fix: update vite config in production to correctly serve static files #427

Merged
merged 6 commits into from
Apr 16, 2024

Conversation

ergusto
Copy link
Member

@ergusto ergusto commented Apr 15, 2024

Static files in Storybook were pointing at 'https://nearform.github.io` instead of https://nearform.github.io/quantum.

@ergusto ergusto requested a review from simoneb April 15, 2024 12:14
Copy link

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

Copy link

@review-bot-for-github review-bot-for-github bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! No comments.

Copy link

netlify bot commented Apr 15, 2024

Deploy Preview for quantum-deploy-previews ready!

Name Link
🔨 Latest commit c34ddb3
🔍 Latest deploy log https://app.netlify.com/sites/quantum-deploy-previews/deploys/661e89f2ec84110008fd9186
😎 Deploy Preview https://deploy-preview-427--quantum-deploy-previews.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@ergusto ergusto marked this pull request as draft April 15, 2024 12:25
@ergusto ergusto force-pushed the feat/vite-config-base-path-for-gh-pages branch from 5f5c5ae to 4310402 Compare April 15, 2024 13:09
Copy link
Member

@simoneb simoneb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it simplifies things, we can even have it always run on /quantum, even when running locally

@ergusto ergusto force-pushed the feat/vite-config-base-path-for-gh-pages branch 3 times, most recently from 145c181 to 4310402 Compare April 15, 2024 15:46
@ergusto ergusto marked this pull request as ready for review April 16, 2024 14:27
Copy link

@review-bot-for-github review-bot-for-github bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! No comments.

@ergusto
Copy link
Member Author

ergusto commented Apr 16, 2024

@simoneb CI runs correctly now, the issue should now be fixed but unfortunately I won't know 100% until it's been deployed to Gtihub Pages. I tried deploying against this branch just to check but there are (rightly) protections to prevent this.

Copy link
Member

@simoneb simoneb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's give it a go then

@ergusto ergusto merged commit d2b0c88 into main Apr 16, 2024
6 of 8 checks passed
@ergusto ergusto deleted the feat/vite-config-base-path-for-gh-pages branch April 16, 2024 17:59
@github-actions github-actions bot mentioned this pull request Apr 17, 2024
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