Import from GitHub, push changes and build on GitHub
Import a repository as an app, push your changes back to GitHub, and set up a build on GitHub for a React project with a workflow you add yourself. About forty-five minutes.
Goal: run a GitHub project as an app, push code back, and build a Vite and React project on GitHub. Time: about forty-five minutes. Plan: Studio. Before you start: a GitHub account and a repository. Part 1 needs a repository with an index.html at its root; part 3 needs a Vite and React project with a package.json and a package-lock.json.
Part 1: import a static repository
Create an app note and choose Import from GitHub in the toolbar.
For a public repository, paste its address. For a private or organisation repository, choose Connect GitHub, share the repository with SeeMyNotes on GitHub and return.
Open Advanced only if the entry is not
index.htmlor you want a branch.Start the import. SeeMyNotes downloads, checks and publishes a version.
If screening flags the version, review the report and publish it anyway with a reason, or fix the repository and import again. Importing a private repository into an already public app asks you to confirm.
Part 2: push changes
Edit the app in the code view and save with Cmd+S (Ctrl+S).
Open the GitHub panel, choose the repository, enter a branch name and a commit message and choose Push to GitHub.
Choose View the commit to see the commit on GitHub.
Pushing sends the app's live code only. Variables, secrets, connections and data stay in SeeMyNotes. A push refuses code that contains the value of one of your secrets.
Part 3: build a React project on GitHub
Open the GitHub panel on a Vite and React repository. SeeMyNotes says it needs a build and shows the detected tool.
Choose the Folder the build writes to:
distfor Vite.Choose Review the workflow file and read the workflow file. It installs with
npm ci, runsnpm run buildand publishes the output to a branch namedseemynotes-build.Choose Create the file on GitHub. On GitHub, commit the file to
.github/workflows/seemynotes-build.yml. If the address is too long for GitHub, choose Copy the file and paste it.Back in SeeMyNotes, choose I added it: check again.
Push a commit to your source branch. Watch the workflow in the repository's Actions tab.
When it has finished, choose Import the latest build.
If SeeMyNotes lists a blocker, fix it: add a build script, commit package-lock.json, use npm, and keep your dependencies to catalog packages.
Part 4: update later
After new commits, reopen the panel. When it says A newer commit is not built yet, wait for the workflow, then choose Update the app. Updates are never automatic.
Result
A GitHub project running as an app, a way to push changes back, and a build that runs only on GitHub, under your control.