skywarth/Vite Github Pages Deployer
Deploy your Vite app to github pages using actions. Doesn't require commits and pushes, clean deployment using only artifacts.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| public_base_path | Public base path string for vite, this affects the routing, history and asset links. Make sure to provide appropriately since Github Pages stores your app in a directory under a subdomain. | no | "" |
| build_path | Which folder do you want your Github Page to use as root directory. Usually it is your build output directory such as ./dist | no | ./dist |
| install_phase_node_env | Node env that will be used for the installation of dependencies. It is imperative you use an environment that has 'vite' as dependency. Commonly, that is 'dev'. | no | dev |
| build_phase_node_env | Node env that will be used for build phase. | no | production |
| package_manager | Your preference of package manager: 'npm' and 'yarn' are possible values. | no | npm |
| artifact_name | Desired name for the Deployment environment. It is also the exposed artifact name which contains the build output (dist). | no | github-pages |
| debug_mode | Controls the debug mode, boolean, true is for on. When turned on, it'll output certain information on certain steps. Mainly used for development, but use it as you please to inspect your env and variables. | no | false |
| working_path | Controls the working directory for both install and build steps | no | ./ |
Outputs
| name | description |
|---|---|
| github_pages_url | Github pages url provided by actions/deploy-pages, exposed as is. |