Skip to content

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

@ejgutierrez74

Description

@ejgutierrez74

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions