Package and deploy a static site to OrbitPush from GitHub Actions.
- name: Deploy to OrbitPush
uses: lgraubner/orbitpush-deploy@v1
with:
token: ${{ secrets.ORBITPUSH_DEPLOY_TOKEN }}
path: distThe action packages the contents of path into a ZIP archive, uploads it to OrbitPush, and
enqueues the deployment. Add ORBITPUSH_DEPLOY_TOKEN as a repository or organization secret.
| Input | Required | Default | Description |
|---|---|---|---|
token |
Yes | OrbitPush project deploy token | |
path |
Yes | Static site output directory | |
api-url |
No | https://app.orbitpush.run |
OrbitPush API origin |
| Output | Description |
|---|---|
deployment-id |
ID of the enqueued OrbitPush deployment |
The action includes the GitHub repository, branch, commit SHA, and workflow run URL in the deployment metadata. Pull request runs use the pull request head metadata.
Symlinks are rejected because OrbitPush deployments only accept regular files and directories.
Requires Node.js 24.
npm install
npm test
npm run buildCommit dist/index.js whenever the source changes.