DEV Community

Cover image for Deploying a Vite app on GitHub Pages using GitHub Actions with GitHub Secrets

Deploying a Vite app on GitHub Pages using GitHub Actions with GitHub Secrets

Douglas Toledo on November 22, 2023

First of all -- I'll assume that you already have a Vite React App created in a GitHub repository. In this article, I will use my portfo...
Collapse
 
akselipalmer profile image
Akseli Palmer

Hey Douglas. This helped me a lot.

I ran into an issue when I was on step 6. Name the new workflow as "deploy"..

I actually had to change the file name to include ".yml" in order for it to work. So after renaming, the file was named "deploy.yml"

I think it would be helpful to have an extra instruction to verify that the file is named correctly.

Thanks again for creating this awesome post!
Other than that small hiccup, it was incredibly easy and straightforward to follow.

Collapse
 
hemantgovekar profile image
Hemant Govekar

Thanks for this article. Will definitely try👍