Connect a git repository
PageSoar drafts titles, descriptions and headings. Once you approve them, it commits them to your site's repository.
What you need#
- The git address of your site's repository
- Access to its settings, to add this workspace's deploy key
About 5 minutes, most of it in your git host.
How it connects#
Add this workspace's deploy key to your site's repository, then give its git address on Connect. PageSoar confirms the connection by itself.
When it is connected#
Your site's repository is connected, so a change you approve is committed straight away and is live once the site deploys. Changes are checked by reading each back from your site's repository.
The Connect page has the full steps.
If it does not connect#
PageSoar checks the connection before it saves anything, so a refused connection changes nothing on your site or in your site's repository. Below, find the start of what PageSoar said when you pressed Connect, make the change, and connect again.
PageSoar says: “The sample workspace connects no real website.”#
Why: The sample company is a demonstration. It has no site of yours to write to.
Fix: Open your own workspace and connect from there.
PageSoar says: “…address in Workspace settings first…”#
Why: PageSoar checks that the platform serves your site, so it needs your site's address first.
Fix: Open Settings, Company and fill in Website (and Staging site, to connect your test site), then connect again.
PageSoar says: “PageSoar could not reach…”#
Why: The repository's address is wrong, or this workspace's deploy key has not been added to it.
Fix: Add the deploy key shown on the Connect card to the repository with write access allowed (on GitHub: Settings, Deploy keys, Add deploy key, Allow write access), check the git address, then connect again.
PageSoar says: “…has no folder named…”#
Why: The folder named is not in the repository, or is written from the wrong starting point.
Fix: Name the folder the built HTML lives in, counted from the top of the repository (for example site/public).
PageSoar says: “…home page was not found under…”#
Why: The repository was reached, but that folder does not hold your site's home page.
Fix: Name the folder whose index.html is the page your site's address opens.