Merge pull request #7 from anarcher/master
Add INPUT_REPOSITORY for another repository push
This commit is contained in:
commit
3c4ff2ea5b
@ -32,10 +32,11 @@ jobs:
|
||||
|
||||
| name | value | default | description |
|
||||
| ---- | ----- | ------- | ----------- |
|
||||
| github_token | string | | Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'. |
|
||||
| github_token | string | | Token for the repo. Can be passed in using `{{ secrets.GITHUB_TOKEN }}`. |
|
||||
| branch | string | 'master' | Destination branch to push changes. |
|
||||
| force | boolean | false | Determines if force push is used. |
|
||||
| directory | string | '.' | Directory to change to before pushing. |
|
||||
| repository | string | '' | Repository name. Default or empty repository name represents current github repository. If you want to push to other repository, you should make a [personal access token](https://github.com/settings/tokens) and use it as the `github_token` input. |
|
||||
|
||||
## License
|
||||
|
||||
|
@ -8,6 +8,10 @@ inputs:
|
||||
github_token:
|
||||
description: 'Token for the repo. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
|
||||
required: true
|
||||
repository:
|
||||
description: 'Repository name to push. Default or empty value represents current github repository (${GITHUB_REPOSITORY})'
|
||||
default: ''
|
||||
required: false
|
||||
branch:
|
||||
description: 'Destination branch to push changes'
|
||||
required: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user