{"repo":"skywarth/vite-github-pages-deployer","free":true,"listed":false,"github":"https://github.com/skywarth/vite-github-pages-deployer","clone":"git clone https://github.com/skywarth/vite-github-pages-deployer.git","description":"Deploy your Vite application to Github pages, plug-and-play.","language":null,"stars":39,"topics":["deployment","github-actions","github-pages","github-pages-deployment","npm","static-site","vite","vue","yarn","deployer"],"license":"AGPL-3.0","category":"deployment-docker-iac","readme_excerpt":"Vite GitHub Pages Deployer Deploy your Vite application to Github Pages, at a glance. - No shenanigans such as committing the dist folder and pushing to a branch. - Clean deploy to GitHub Pages by utilizing actions and artifacts. - Customizable with optional build path - Can be used with any frontend framework as long as you use vite as your build tool. Vue, React, Svelte... You name it! Table of Contents 1. Usage 2. Example Workflow 3. Demo 4. Input Parameters 5. Outputs 6. Common errors and mistakes 7. TODOs 1. Usage :checkered flag: You can use this action simply by adding it to your action's yaml files appropriately. 1.1 Add the usage step :triangular flag on post: Make sure to place this step after your 'checkout' step. 1.2 Release environment :outbox tray: You have to place the environment section right before the steps . This enables the release of environment, under the environments tab. 1.3 Set the permissions for the action :shipit: You need to set the proper permission for the action, in order to successfully release environment and artifact. If you don't you may receive permission errors. Permission declaration can be placed anywhere before jobs: section. 1.4 Enjoy! :tada: 2. Example workflow :rocket: If you don't know what to do, what actions are, or where to place the code pieces in the usage section, then follow these steps: 1. Create an action file at this path: ./.github/workflows/vite-github-pages-deploy.yml . So in essence create a .github folder at your pr","default_branch":null,"files":null,"tree":[],"storefront":"/r/skywarth","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/skywarth/vite-github-pages-deployer/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}