mirror of
https://github.com/cpina/github-action-push-to-another-repository.git
synced 2024-12-22 16:16:09 -07:00
Improve documentation
This commit is contained in:
parent
da21c6b08d
commit
61d0646c22
|
@ -1,6 +1,6 @@
|
||||||
# github-action-push-to-another-repository
|
# github-action-push-to-another-repository
|
||||||
|
|
||||||
Used to push generated files from a directory from Git Action step into another repository on Github.
|
Used to push generated files from a directory from Git Action step into another repository on Github. By design it deletes the files from the destination directory as it is meant to "publish" a set generated files.
|
||||||
|
|
||||||
E.g.
|
E.g.
|
||||||
Repository pandoc-test contains Markdown and a Git Action to generate, using Pandoc, an output: HTML, PDF, odt, epub, etc.
|
Repository pandoc-test contains Markdown and a Git Action to generate, using Pandoc, an output: HTML, PDF, odt, epub, etc.
|
||||||
|
@ -19,6 +19,8 @@ For the repository `https://github.com/cpina/push-to-another-repository-output`
|
||||||
### `destination-repository-name` (argument)
|
### `destination-repository-name` (argument)
|
||||||
For the repository `https://github.com/cpina/push-to-another-repository-output` is `push-to-another-repository-output`
|
For the repository `https://github.com/cpina/push-to-another-repository-output` is `push-to-another-repository-output`
|
||||||
|
|
||||||
|
*Warning:* this Github Action currently deletes all the files and directories in the destination repository. The idea is to copy from an `output` directory into the `destination-repository-name` having a copy without any previous files there.
|
||||||
|
|
||||||
### `user-email` (argument)
|
### `user-email` (argument)
|
||||||
The email that will be used for the commit in the destination-repository-name.
|
The email that will be used for the commit in the destination-repository-name.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user