songmu/Push to Another Repository with a Signed Commit
Push files to another repository. Ideal for GitHub Pages, docs sync, and mirrors. Creates signed commits with App tokens.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| token | Github token with write access to the destination repository | no | ${{ github.token }} |
| destination-repository | Destination repository | yes | — |
| source-directory | [Optional] Source directory from the origin directory | no | . |
| destination-branch | [Optional] set destination branch name for the destination repository. Defaults to "main" | no | main |
| commit-message | [Optional] commit message for the output repository. LAST_COMMIT_MESSAGE is replaced by the last commit message in the source repo ORIGIN_COMMIT is replaced by the URL@commit in the origin repo GIT_REF is replaced by the origin $GIT_REF | no | LAST_COMMIT_MESSAGE (via ORIGIN_COMMIT from GITHUB_REF) |
| destination-directory | [Optional] The directory to wipe and replace in the destination repository | no | "" |
Outputs
| name | description |
|---|---|
| pushed | Whether a commit was pushed to the destination repository |