Skip to content

Commit 164a872

Browse files
authored
Merge pull request #51 from nedbat/nedbat/fix-readme
README: two fixes from target-directory work
2 parents 9077ab5 + 2e729bf commit 164a872

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# github-action-push-to-another-repository-directory
1+
# github-action-push-to-another-repository
22

33
When to use this GitHub Action? It is useful in case that you have a GitHub repository with a a directory that you want to push to another GitHub repository using GitHub Actions (automated on push, for example). It is also useful if using GitHub Actions you generate certain files that you want to push to another GitHub repository.
44

@@ -37,11 +37,11 @@ The branch name for the destination repository. It defaults to `main`.
3737
### `commit-message` (argument) [optional]
3838
The commit message to be used in the output repository. Optional and defaults to "Update from $REPOSITORY_URL@commit".
3939

40+
The string `ORIGIN_COMMIT` is replaced by `$REPOSITORY_URL@commit`.
41+
4042
### `target-directory` (argument) [optional]
4143
The directory to wipe and replace in the target repository. Defaults to wiping the entire repository
4244

43-
The string `ORIGIN_COMMIT` is replaced by `$REPOSITORY_URL@commit`.
44-
4545
### `API_TOKEN_GITHUB` (environment)
4646
E.g.:
4747
`API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}`

0 commit comments

Comments
 (0)