Skip to content

Latest commit

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date

OrbitKit Deploy

License: Apache 2.0GitHub release

A GitHub Action that deploys your OrbitKit app site — privacy policies, support pages, data deletion pages, app site association files, and more — straight from your CI/CD pipeline.

Usage

- uses: OrbitKit-io/OrbitKit-Deploy@v1with:
api-key: ${{ secrets.ORBITKIT_API_KEY }}app-id: ${{ vars.ORBITKIT_APP_ID }}

Setup

  1. Get your API key from the OrbitKit Dashboard under Settings → API Keys
  2. Add it as a GitHub secret in your repo: Settings → Secrets → Actions → ORBITKIT_API_KEY
  3. Add your app ID as a variable: Settings → Variables → Actions → ORBITKIT_APP_ID

Inputs

InputRequiredDescription
api-keyYesOrbitKit API key (ok_xxxx). Store as a GitHub secret.
app-idYesYour OrbitKit app ID
api-endpointNoAPI base URL (default: https://api.orbitkit.io)

Outputs

OutputDescription
site-urlThe deployed site URL
deployed-atDeploy timestamp

Examples

Deploy on push to main

name: Deploy Privacy Policyon:
push:
branches: [main]jobs:
deploy:
runs-on: ubuntu-lateststeps:
- uses: OrbitKit-io/OrbitKit-Deploy@v1with:
api-key: ${{ secrets.ORBITKIT_API_KEY }}app-id: ${{ vars.ORBITKIT_APP_ID }}

Deploy when policy files change

name: Deploy on Policy Updateon:
push:
branches: [main]paths:
- 'privacy-policy.json'
- 'support-page.json'jobs:
deploy:
runs-on: ubuntu-lateststeps:
- uses: OrbitKit-io/OrbitKit-Deploy@v1id: deploywith:
api-key: ${{ secrets.ORBITKIT_API_KEY }}app-id: ${{ vars.ORBITKIT_APP_ID }}
- name: Print site URLrun: echo "Deployed to ${{ steps.deploy.outputs.site-url }}"

Deploy with the OrbitKit CLI

If you need to update policy data before deploying, use the OrbitKit CLI in an earlier step:

jobs:
deploy:
runs-on: ubuntu-latestenv:
ORBITKIT_API_KEY: ${{ secrets.ORBITKIT_API_KEY }}ORBITKIT_APP_ID: ${{ vars.ORBITKIT_APP_ID }}steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4with:
node-version: 22
- name: Update privacy policyrun: npx orbitkit policy set privacy-policy.json
- name: Deployuses: OrbitKit-io/OrbitKit-Deploy@v1with:
api-key: ${{ secrets.ORBITKIT_API_KEY }}app-id: ${{ vars.ORBITKIT_APP_ID }}

Security

  • API key as secret: Always store your API key as a GitHub secret, never hardcode it in workflows
  • Secret scanning: OrbitKit API keys use the ok_ prefix, which is auto-detected by GitHub secret scanning if accidentally committed
  • No script injection: All inputs are passed as environment variables, not interpolated in shell commands

License

Apache License 2.0 © OrbitKit, Inc.

About

GitHub Action to deploy your OrbitKit app site (privacy policy, support, AASA, and more) from CI/CD

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors