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

Inject Environment Variable for Github Pages Deployments in Vite Build #14

Open
wants to merge 36 commits into
base: master
Choose a base branch
from

Conversation

sopa301
Copy link

@sopa301 sopa301 commented Dec 23, 2024

Part of reposense/RepoSense#2257

Proposed commit message

Inject Environment Variable for Github Pages Deployments in Vite Build

Under the Vite build for Github Pages Deployments, the base directory
of the deployment needs to be specified in a configuration file during
build time. We can make this dynamic since the base directory is the
name of the deployment repository.

Let's modify the code to add the VITE_BASE_DIR environment variable for
Github Pages Deployments.

Other information

Note that this only works for the Github Pages and Travis (which uses Github Pages) methods specified in the RepoSense User Guide. It is unclear if the Netlify method works due to a separate issue.

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