Wix & Github - How to get newly created / added pages to github

So after you connect with github integration and you then create a new page. That page does not just show up in github after publishing. So there is no way to edit the javascript page for that new page in your local editor.

How does added pages get over to github? I do not see where it would get pushed to github?

I have not used this so not sure I can be much help , but a quick read

  • You can’t create new code files for pages from your IDE. To add a file, create a new page for your site in a Wix editor in your browser, and sync your site with your local IDE.
  • Do not rename code files for pages. Wix uses these file names to associate the files with the appropriate pages on your site. If you rename a file, your code is ignored and a new code file is created for the page.

Make changes to site design

The Local Editor allows you to make changes to your site’s design such as adding or modifying elements and pages. These changes generate a new UI version for your site which you need to sync with your IDE. Once the UI version is synced with your IDE, code files for newly added pages appear in your repo. Autocomplete is also enabled for any newly added page elements.

further details of how to sync here

Have you done the sync?.

Click save in the editor, it should sync the types and create the files.

Thanks. I just created the page file with same name in github and then did a pull and push from my IDE. That seemed to work. Creating a new page in sites editor does not ever push to github because it is not part of the list of pages that are being track is my guess. I’m not sure how you sync your site with IDE. The only option is to sync with github.

I think you do it as @DeanAyalon says