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

Improved build and deployment configuration #26

Merged
merged 7 commits into from
Nov 23, 2023
Merged

Improved build and deployment configuration #26

merged 7 commits into from
Nov 23, 2023

Conversation

krazkidd
Copy link
Owner

Enable universal rendering mode (enable SSR). [I had thought that this required an app server but you can still elect to use static site generation (SSG) to pre-render HTML.)

This also allows deploying to different environments (GitHub and DigitalOcean) using an environment variable to set the base URL, which is required by GitHub.

Note that static images under /public may fail with this change when we deploy to GitHub. So a fix may follow. I couldn't find much documentation on using static assets.

@krazkidd krazkidd self-assigned this Nov 23, 2023
@krazkidd krazkidd merged commit 7772d27 into main Nov 23, 2023
1 of 2 checks passed
@krazkidd krazkidd deleted the config branch November 23, 2023 22:57
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.

1 participant