actions-marketplace-validations/SSH Deploy GitHub repo on server
Deploy on a SSH server the current GitHub repository by using `git clone`
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| ssh-user | SSH server login username. | yes | — |
| ssh-password | SSH server login password. | yes | — |
| ssh-domain | SSH server login domain. | yes | — |
| target-directory | Specify where to clone the directory into the remote system. Refers to the env TARGET_DIRECTORY. | no | — |
| target-branch | Specify the git branch to clone/checkout. Defaults to 'main'. | no | main |
| git-clone-by | Specify clone mode. Either 'ssh' or 'https'. Defaults to 'https'. | no | https |
| pre-command | Command lines to execute before the deployment. If `pre-command` failed, then deployment and post-command won't be executed. | no | — |
| post-command | Command lines to execute after the deployment within the `target-directory`. If `pre-command` or deployment failed, then `post-command` won't be executed. | no | — |
| _github-event-repository | (PRIVATE) Git repository object. Use to parse data from github in order to fetch 'ssh' or 'https' clone url. | no | ${{ toJSON(github.event.repository) }} |
Outputs
no outputs