Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem deploying from local repository to gh-pages deploy #589

Open
ejgutierrez74 opened this issue Dec 8, 2024 · 0 comments
Open

Problem deploying from local repository to gh-pages deploy #589

ejgutierrez74 opened this issue Dec 8, 2024 · 0 comments

Comments

@ejgutierrez74
Copy link

Perhaps a bug not sure.
I had a local js project using vite and p5.js library. In local i was able to execute code without problems and see the sketch of p5.js

In local i have a git repository with master branch.
I add an online branch called also master. ( so in github i have a master branch)
I commit & pushed the code. In both master in local repository and master in online github, seems that everything is ok, with same files and folders in both branches.
I used the gh-pages library of js, and then the code in master branch in local should be deployed to gh-pages.
When i opened the page in gh-pages...the code of p5.js sketch didnt launch...with help of copilot i discovered that some files specially in js folder of my project didnt "arrived or been pushed" to gh.pages branch.

So after many fights, i couldnt solve the problem...and one solution i foun ( i don like) is to change the gh-pages main or default branch from gh-pages to the master branch of online github.

The code was right because in local was smooth.

Any help would be aprecaited

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant