I'm having a little bit of trouble deploying a multipage React App (using React-Router V.6) on Github Pages. On my actual deployment build (here), whenever I go to a route (such as about or resume) and refresh, I get a 404. I assume this is due to…
I have a React app I've created with create-react-app, which is deployed to Github Pages via the npm run deploy command using the following:
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build",
More specifically, I have…
tldr; I think I need to add a github token. I have a token from github, but I have no idea how to implement it at the stage that I'm at.
I am trying to deploy an angular 13 app to github pages. Right now, it is just the auto-generated app (I haven't…
I have a react page that uses react-router.
When I run the app locally, I am able to redirect the default path to a specific component. (In my particular case, the '/' redirects to the '/shop' component.)
I have a github repository [1] (named "exo-cortex.github.io" that I want to use to make a static website on github). In it there are the hugo source files. There is also a git submodule [2] for the theme "archie", which I have forked, because I want…
I am deploying a Hugo site through Github pages, but I want to add custom HTTP headers like X-Frame-Options, X-XSS-protections. However, I tried to add the below code to my config.yaml file as per their site's instruction. But it isn't working. The…
Does anyone know how to provide environment variables to a live site on GitHub Pages?
I am trying to deploy my site to GitHub Pages and use environment variables that I have entered in the secrets setting on GitHub but am getting errors with my…
I've been struggling with this project for a while now and I've scrapped everything to try and just get the basics down with Sapper/Svelte and GitHub Pages deployment as I need this to run as a GitHub App. I have gone through multiple tutorials and…
I have simple github repo where I host the content of my CV. I use hackmyresume to generate the index.html. I'm using Github Actions to run the npm build and it should publish the generated content to the gh-pages branch.
My workflow file…
When I tried to publish my react project in git hub page all I could see is only URL and project is not deployed. Can somebody please help
I tried deploying npm run deploy by changing keys in package json "homepage" , "predeploy" , "deploy".
I have a static site that is using Vite and Tailwind deployed on github pages. This is the repo. and here is the gh pages link: https://ethanrush.github.io/CurieNCo/
Locally, when I run
npm run dev
everything works and my site loads properly with…
I created a basic project with tailwind CSS, I can upload it to GitHub, but I don't know how to expose it to GitHub pages as .github.io/tailwind-project/
I am getting the contents of the README.md file instead of the index.html
How to edit the…
I have an issue with github pages and flutter web.
When i launch Github Pages i have this issue :
Screenshot
And i have a blank page.
It's weird because it works well in local.
Here is my Github Actions worflow :
name: Deploy to GitHub Pages
on:
…
I have created an HTML image file and I wanted to render it in my GitHub page. The image is stored here: https://github.com/WCRF/SysRev-Metan/blob/main/trial_fig.html. I tried to embed this image in my markdown document using this code.
…
Why is that the react app I deployed via github pages is showing a blank page. I tried doing this already before (using the default react-homepage only for testing purposes) and it worked just fine.
"homepage":…