https://github.com/thezzisu/git-repo-deploy-action
Deploy to Arbitrary Git Repo
https://github.com/thezzisu/git-repo-deploy-action
actions
Last synced: 10 months ago
JSON representation
Deploy to Arbitrary Git Repo
- Host: GitHub
- URL: https://github.com/thezzisu/git-repo-deploy-action
- Owner: thezzisu
- License: mit
- Created: 2020-04-12T14:55:20.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-08T00:22:28.000Z (over 3 years ago)
- Last Synced: 2025-08-21T20:43:37.002Z (10 months ago)
- Topics: actions
- Language: TypeScript
- Homepage:
- Size: 243 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deploy to Arbitrary Git Repo
## Examples
See [this action](./.github/workflows/latest.yml). This action is just being deployed using itself.
### Using ssh
Use actions like [webfactory/ssh-agent](https://github.com/webfactory/ssh-agent)
to setup ssh agent. There's no need to reconfigure git-repo-deploy-action as
it'll use the default ssh push.
## Full options
```
src:
description: 'The source directory to deploy. Relative to current project root. If not specified, `dist` will be used.'
required: false
dst:
description: 'The destination directory. Relative to destination git repo root. If not specified, will directly deploy to repo root.'
required: false
branch:
description: 'The target branch of the dest git repo.'
required: false
repo:
description: 'The full url of the dest git repo. HTTPS repos should include credentials. SSH repos should have extra setup.'
required: true
single:
description: 'Set true to override existed commits.'
required: false
name:
description: 'Git config name. Default: Github Actions'
required: false
email:
description: 'Git config email. Default: noreply@actions.github.com'
required: false
```