Gitea, Forgejo, Codeberg and others
GetGeek Static works with any git service that can
- give an external party read access with an SSH key (often called a deploy key or access key), and
- send an HTTP POST request on push (a webhook).
What the webhook sends in the request doesn't matter — we always build whatever is in your branch at that moment.
Gitea, Forgejo and Codeberg
- Settings → Deploy Keys → Add Deploy Key. Paste the key from us and leave Enable Write Access unticked.
- Settings → Webhooks → Add Webhook, choose the type Gitea or
Forgejo.
- Target URL: the webhook address from us
- HTTP Method:
POST - Trigger On: Push Events
- Branch filter: your branch (or
*)
- Click Add Webhook, open it and use Test Delivery.
Bitbucket
- Repository settings → Access keys → Add key. Paste the key from us. Access keys in Bitbucket are always read-only.
- Repository settings → Webhooks → Add webhook. Enter the webhook address as the URL and choose the trigger Repository push.
Your own git server without webhooks
If you don't have a web-based git service — for example a plain git repository
on your own server — you can start a build from a post-receive hook:
We must still be able to reach the repository over SSH with the deploy key.