chihqiang/Deploy Static Site to Github Branch
Publish a directory to a target branch (e.g., gh-pages), with optional CNAME support
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Token for HTTPS authentication | yes | — |
| publish_dir | The local directory to publish (e.g., dist) | yes | — |
| target_branch | The branch to publish to (default: gh-pages) | no | gh-pages |
| commit_message | The commit message to use | no | — |
| cname | Custom domain (e.g., example.com). If set, a CNAME file will be created. | no | — |
| repository | The repository to push to (e.g., user/repo). Defaults to GITHUB_REPOSITORY. | no | — |
Outputs
no outputs