CI/CD
API keys for automated deploys, and GitHub push-to-deploy.
API Keys
Create long-lived API keys for automated deployments in CI/CD pipelines:
Use the key in CI by setting the environment variable:
No browser login is required when SPOOKY_API_KEY is set.
GitHub Integration
Link a GitHub repository for automated deployments on push:
GitHub integration installs a GitHub App on your repository. Pushes to the configured branch automatically trigger a build and deploy.
A linked build reads sp00ky.yml from the pushed commit the same way
spky deploy reads it locally: the apps and their deploy: blocks, the
surrealdb: block, anonymousLiveQueries, deployment.env and sync:. Keep
the committed manifest in step with what you last deployed by hand, because
the push is what the next deployment is built from.