Skip to content

Github deploying half of my website? MIME type (“application/octet-stream”) #139700

Closed Answered by achoo-o
achoo-o asked this question in Pages
Discussion options

You must be logged in to vote

Well, I figured it out! Turns out Vite needs a special type of deployment to Github Pages; i.e it's own workflow.

In your Settings > Pages, under 'Build and Deployment' use Github Actions as your source. Create your own file and copy and paste this template from the vite website to deploy a static site. Once Github rebuilds it, your site should render :)

Replies: 2 comments

This comment was marked as off-topic.

Comment options

You must be logged in to vote
0 replies
Answer selected by achoo-o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Pages Host a static website, right from your repo
1 participant