Questions tagged [github-pages]

GitHub pages are static web pages hosted on GitHub.

github-pages
Filter by
Sorted by
Tagged with
0 votes
1 answer
62 views

Images are not loading in GitHub pages hosted from docs directory

My images are not loading in GitHub pages and my base href in /docs/index.html is "/SindhuApp/ I am deploying from /docs in GitHub. This is the folder structure in GitHub pages I am deploying ...
Surya Vasireddy's user avatar
0 votes
0 answers
27 views

HTML files from public folder embedded within an <iframe> do not render in deployed react app

I have created a react app with vite. Within my public folder there are advertising campaigns in HTML files in the directory "./public/campaigns/porsche-traffic/file_name". I am trying to ...
Alek Pialucha's user avatar
0 votes
1 answer
21 views

Change title of "Summary" section in Jekyll Github pages

I am using this template to create my github website with Jekyll. Below the title, there is a small "Summary" section that summarizes the content of the page and that I find very useful. ...
mazu's user avatar
  • 317
0 votes
0 answers
22 views

Fast way to work in a group on an Angular gh-pages project?

So i want to work on a project of mine, which is made of an angular website. I host it on gh-pages, it works and all BUT i have an issue with the slowness of having to build EVERYTIME I want to modify ...
Roirtur's user avatar
  • 11
1 vote
0 answers
28 views

How do I set a checkmark in markup?

This is for GitHub pages using the jekyll-theme-tactile theme. What I have in the .md file is: | | Create | Read | Update | Delete | |-----...
David Thielen's user avatar
0 votes
1 answer
169 views

How do I apply a theme in GitHub pages?

I got pages to build for the jekyll-theme-tactile - they're here. For this case, this is my docs/_config.yml (before today): theme: jekyll-theme-tactile title: Louis Howe User Guide description: How ...
David Thielen's user avatar
0 votes
1 answer
94 views

Github Pages with custom GitHub Action workflow is not using the right branch gh-pages

I used to have Github pages running with source from gh-pages branch perfectly. But, today something changed and it throws an Error: Ensure GITHUB_TOKEN has permission "id-token: write". So,...
Miguel Gamboa's user avatar
0 votes
1 answer
61 views

How to acces folder in GitHub repository to read all files?

Trying to access a folder on my GitHub repository with JS. Works locally but not on Github Pages. I'm trying to access a folder in my repository to get all files that are included. The code works ...
If4x's user avatar
  • 3
0 votes
0 answers
61 views

Verify a custom domain in Github pages

I was following these steps: https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages The problem I have is when I try to ...
Dani's user avatar
  • 3,863
0 votes
1 answer
226 views

How can I find the repository that has GitHub Pages enabled and is on a given domain?

I have 200+ GitHub repositories, and one of them has GitHub Pages enabled on it, with a domain name that belongs to me. Now I wanna redo that website and hence assign that domain name to the GitHub ...
djfm's user avatar
  • 2,391
0 votes
0 answers
35 views

Github Pages Site Not Building

I get this error when I try to deploy a github pages website. I am new to deploying websites with it, so I do not know what to do to solve this error. Any help would be appreciated! BaseLayout.astro ...
user16355394's user avatar
0 votes
0 answers
16 views

Hi, i have a problem when i try to deploy a project with a local json in vite, axios and githubpages

Issue with deploying a repository using local JSON: Console Error I'm encountering an issue when attempting to deploy a repository that involves local JSON. The error in the console is as follows: ...
JairMontenegro's user avatar
0 votes
0 answers
237 views

I want to use profiler of react developer tools in my built website. but it says "Profiling not supported."

I want to use profiler of react dev tools. I built my project with gh-pages(^6.1.0). "scripts": { "build": "react-scripts build", "predeploy": &...
nayounsang's user avatar
0 votes
1 answer
40 views

Pathing for github pages

I have been working on this forever. I am getting an Error 404 /Quest/questlist.txt. this is what I am using ``// QuestCarousel.tsx import React, { useState, useEffect } from "react"; ...
Tanner Dunham's user avatar
0 votes
0 answers
24 views

404 File not found The site configured at this address does not contain the requested file

Trying to host my react app in github pages and I keep getting this error. My repository : https://github.com/NikhilSethuram/nstPortfolio I tried the normal approach , added homepage to package.json , ...
Nikhil Sethuram's user avatar
0 votes
1 answer
55 views

adding a page to github pages 404

I created a website on GitHub pages and it worked but when I tried to add a page "site" it kept on giving me 404 errors when I tried to reach the "site page" this is my github page ...
Dana's user avatar
  • 1
0 votes
0 answers
42 views

Deploying a static site with root-links on github pages

I'm trying to deploy a static website on github page and as many have faced, github add a "/my-repository" level in the URL breaking all the root-links working properly in local I think I ...
Jirne's user avatar
  • 1
0 votes
0 answers
20 views

How to expose an open directory on/using github pages?

I would like to know if it's possible to expose an open directory with list of files on github pages? or if oficially it isn't supported, is there any way, such as some project that generates a list ...
Kamey_'s user avatar
  • 1
1 vote
0 answers
30 views

Title and blank page after deploying React app using Firebase Hosting and GitHub Pages

I've been using GH pages to host an app made using create-react-app, and now I'm trying to use Firebase for hosting. After following the steps on various tutorials and deploying the app, the only ...
Sean's user avatar
  • 33
0 votes
1 answer
145 views

ng build issue: Error: Unknown argument: base-href/

Issue Image The above error is what i have issued when i was trying to build the angular project for external hosting, using the ng build command, anyone faced this issue ? Tying to run the ng build ...
akhil pragallapati's user avatar
0 votes
1 answer
20 views

Multiple projects using GitHub pages

I cam across this wonderful developer site https://hihayk.github.io/. In this site, each link is the OUTPUT of another repository by the developer. For example https://hihayk.github.io/scale/ is the ...
moys's user avatar
  • 7,879
0 votes
1 answer
83 views

Hosting a single page React app on GitHub Pages - getting a blank page

I am learning React and want to host my little single page project on gh-pages to include it on my portfolio but instead of the actual app there's just a blank page: https://bopcho.github.io/my-chat-...
Boby's user avatar
  • 11
0 votes
0 answers
67 views

RollupError: Could not resolve "./App.jsx" from "src/index.jsx"

I am trying to host my vite react app on Render as a static webpage but I am facing below issues. Not sure why I see this. In my local I can build and my application is up and running on localhost. ...
Siva Swathi Vasagar's user avatar
0 votes
0 answers
137 views

Caching Static Assets in Github Pages

I am trying to cache static assets like images for my website in github pages - so that they are not requested again and again. I've noticed in some other questions that github pages by default add ...
Probosckie's user avatar
  • 1,712
3 votes
1 answer
657 views

using Tanstack router with a SPA in github pages

I'm using react + tanstack router + github pages. this is the page, https://jbetoreyes.github.io/beyond-brand-boosters when I go to the about us page with the navigation, the page loads fine, but if I ...
Jose Alberto's user avatar
0 votes
0 answers
566 views

Nuxt 3 unable to preload css

I am building a static site with Nuxt 3, deployed & hosted to Github Pages. I added a dynamic route to my static site under pages/features/[id].vue. However when viewing this page on my github ...
P.Pascarella's user avatar
0 votes
0 answers
23 views

My files are all missing from my portfolio site? React JS - GH-Pages

Decided to come back and improve my portfolio site after a couple of months. However, my files all seem to be missing? I don't see any additional changes or pull requests, and going back to my past ...
sanchez's user avatar
0 votes
0 answers
4 views

Github pages 404 not found with seems correct settings, what's the problem?

I'm publishing a folder of html files to my github.io pages site. But I got the 404 error: 404: NOT_FOUND Code: NOT_FOUND ID: hkg1::8rz8w-1699491784992-0023b3221360 Here is the link to my project, it'...
Zhao_L's user avatar
  • 101
0 votes
1 answer
118 views

Images not showing on github pages, but shows in "preview" on remote repository

I recently created a website using Hugo, and when running hugo server, the images compiled fine. I then pushed all of my files to git, and no images appeared on the GitHub page, EXCEPT for the one on ...
Carson C's user avatar
1 vote
1 answer
51 views

Github pages not showing react app website correctly

I am a self-taught programming newbie with 1 month of learning age. Currently I have built a project by watching youtube and I want to show the project results on github page, but after trying ...
Perdido's user avatar
  • 13
1 vote
0 answers
48 views

gh-pages Failed to get remote.origin.url

I created a TypeScript React app with create-react-app and tried deploying it with gh-pages. I have set up an origin. The remote repo exists. I have been following this tutorial. Here's more detail: ...
MrArsikk's user avatar
0 votes
0 answers
83 views

Github Action Mkdocs with Aws-Cdk

i am getting a terminal error saying: remote: Write access to repository not granted. fatal: unable to access 'https://github.com/@username/cdk-github/': The requested URL returned error: 403 I ...
zizora's user avatar
  • 39
2 votes
0 answers
392 views

how do I deploy an Angular Project to Github Pages?

I have been following along with the Angular Documentation for building your first app I want to deploy the application as it is, but when using CLI to run ng deploy I receive an error that reads as ...
Andrew Loverde's user avatar
0 votes
1 answer
62 views

GitHub Pages does not update when the branch is updated from within GH Actions

I have a repo with branch autogen-docs, and a folder docs in it. GitHub Pages is correctly targeting that branch & folder and it builds the docs website based on the files in the folder. If I ...
Ferrard's user avatar
  • 2,388
0 votes
0 answers
33 views

Why does my Jekyll page display raw front matter?

I got a template from jekylltheme.org and created a branch in my own repository, hosted it on a GitHub page, and got the "---- layout: home # Index page ----" problem! I am new in this field,...
Lan Luo's user avatar
0 votes
0 answers
296 views

main.tsx:1 Failed to load module script

Having the issue: main.tsx:1 Failed to load module script: Expected a JavaScript module script but the server responded with a MIME type of "application/octet-stream". Strict MIME type ...
Eric Dias Macedo's user avatar
0 votes
0 answers
29 views

Gitlab Pages Tab doesn't appear

I'm trying to deploy a static docusaurus website with gitlab pages but the "Pages" tab (which should be in "Deploy" tab) doesn't appear. Here's my CI file : image: $...
ArrowRise's user avatar
  • 616
0 votes
1 answer
76 views

.png images not appearing in github page site

I built my site using jekyll and have been looking at stackoverflow to try and resolve my issue (images rendering in .md file used to generate post, but post itself does not show images). my github....
Mindy Ng's user avatar
0 votes
0 answers
108 views

Failed to deploy Next.js site on GitHub Pages

[Set up pages ] Run actions/configure-pages@v3 with: static_site_generator: next token: *** enablement: false Error: Get Pages site failed. Please verify that the repository has Pages ...
Ngaox Thao's user avatar
0 votes
1 answer
99 views

Can we host MERN stack application (with backend) by using GITHUB pages?

Can we host a web application developed using MERN stack by creating repo on GitHub? for an example, we can create a repo like "app1.github.io" and host it using GitHub pages. So, can we ...
Dilmith's user avatar
0 votes
1 answer
96 views

Deploy to GitHub Pages using Flutter Web not working

Deploying to GitHub Pages using actions with Flutter Web is not working. I just keep getting a blank page. Any help appreciated. I am using and the following pipeline on GitHub Actions name: Deploy ...
MikeSmith's user avatar
  • 349
0 votes
1 answer
116 views

Unable to get Goatcounter to work on Github pages website

I deployed my personal website (React Typescript) through Github pages here and I wanted to add Goatcounter to me website. I added this line of code to my index.html to enable Goatcounter. <script ...
Shubhankar Agrawal's user avatar
1 vote
1 answer
82 views

Github Pages long build time with React

I am deploying to Github Pages on a gh-pages branch and it does so successfully with npm run deploy. However, this repo will eventually contain a LOT of mp3 audio data (I'm using Git LFS) and when I ...
Evan Denmark's user avatar
0 votes
0 answers
112 views

LaTeX equation does not render as in-line math with Jekyll and MathJax

I have some in-line math (i.e. $ ... $) which does not render on a GitHub page created with Jekyll and MathJax. I have already tried a thousand of different notations/formulations/combinations and can'...
Joram Soch's user avatar
0 votes
1 answer
47 views

Github Pages landing page with custom domain is correct, but other pages get a 404

SOLVED: Github Pages doesn't like <BrowserRouter> and it must be changed to <HashRouter> The homepage in package.json must include # Better answer summarized here: React Router not ...
Evan Denmark's user avatar
1 vote
2 answers
36 views

Github Pages Configuration

I use GitHub pages to host React project, but when I add a custom domain I get a problem. The custom domain is taken on GoDaddy, I added all DNS records there. CNAME, A, and AAAA. Also, I set ...
Boombaar's user avatar
  • 161
0 votes
1 answer
87 views

Is it possible to have multiple gh pages for one repo?

I am trying to host multiple project pages using my repo to help build my porfolio. I have created multiple branches with their own index.html and corresponding css and js files so host on gh pages. I ...
Safiya George's user avatar
0 votes
0 answers
15 views

GitHub Jekyll Post Not allowing Hyperlinks

I am trying to work on a simple webpage based on Jekyll Templates available on GitHub pages. I was able to get a template up and running and am trying to modify a post structure. I would like to add ...
Albert Jordan's user avatar
0 votes
1 answer
23 views

Can I define a domain root for links in GitHub pages?

I am creating a user guide for my web app using GitHub pages in the web app's repo. I want to have links in the user guide to the appropriate pages in the web app. I can hard code the entire thing. ...
David Thielen's user avatar
-1 votes
1 answer
46 views

Trying to get started with pages

I'm following the guidance to set up pages and am having no luck: I set it to use the master branch and use the docs folder. I clicked Save and - the docs folder was not created. It discusses how to ...
David Thielen's user avatar