Hosting on Github Pages?

521
3
Jump to solution
01-03-2024 11:33 AM
NFlourish
Occasional Contributor

We are using Experience Builder Developer Edition. We want to publish our custom Experience. It requires no login or OAuth or anything. When I download the app Zip file and extracted it, I can put it into a folder on one of our development Windows Servers with IIS and I can open the app no problem.

I have tried to publish the exact same app to GitHub pages and I get a host of errors in the console. Here is the URL of the app at GH Pages so you can also look at the console.

https://opdgig-dos-ny.github.io/

I saw that @GavinRehkemper had done a CI workflow that published to GitHub pages, but the example appears to be dead. I tried switching the service worker cache, but that did not help. The error messages in the console now are the same as before I switch the service worker cache build number etc. 

I am curious if we know if there is a reason that an Developer Edition Experience cannot be hosted on GitHub Pages?

Thanks!

Nick

0 Kudos
1 Solution

Accepted Solutions
GavinRehkemper
Esri Contributor
0 Kudos
3 Replies
JeffreyThompson2
MVP Regular Contributor

Experience Builder sites get pretty big. My guess is you are over the 1GB limit on GitHub Pages. https://docs.github.com/en/pages/getting-started-with-github-pages/about-github-pages#usage-limits

I just checked the file size on one of my pretty simple single page Experiences and it's over a gig.

JeffreyThompson2_0-1704312054040.png

GIS Developer
City of Arlington, Texas
NFlourish
Occasional Contributor

That's a very helpful bit of knowledge to keep in mind and I could see that biting us. However, my XB app folder is only 120 megabytes right now. So I do not think it is size related unless I'm missing something.

Screenshot 2024-01-03 at 3.57.47 PM.png

0 Kudos
GavinRehkemper
Esri Contributor
0 Kudos