Carles Pina i Estany
483689a71c
Use {} in the variable expansion
2022-01-21 17:42:11 +01:00
Carles Pina i Estany
084156bc22
Rename so it can be published (hopefully)
2022-01-20 23:47:19 +01:00
Carles Pina i Estany
418e6e7a36
Merge branch 'main' of github.com:cpina/github-action-push-to-another-repository into main
2022-01-20 23:31:50 +01:00
Carles Pina i Estany
f5b6d14ea8
Simplify variable expansion
2022-01-20 23:30:55 +01:00
Carles Pina Estany
164a872083
Merge pull request #51 from nedbat/nedbat/fix-readme
...
README: two fixes from target-directory work
2021-12-28 20:39:26 +00:00
Ned Batchelder
2e729bfae7
README: two fixes from target-directory work
...
1. The sentence about `ORIGIN_COMMIT` should be part of the description
of `commit-message`.
2. The title of the repo is still `github-action-push-to-another-repository`.
2021-12-28 06:25:56 -05:00
Carles Pina i Estany
9077ab5399
Improve error message
2021-12-15 00:13:36 +00:00
Carles Pina i Estany
23869efe3d
Better handling of the git clone error
2021-12-15 00:09:49 +00:00
Carles Pina i Estany
331033bc0f
Try a better way to report errors
2021-12-15 00:01:48 +00:00
Carles Pina i Estany
b8ba82a17f
Fix typo
2021-12-14 23:48:39 +00:00
Carles Pina i Estany
7096925caa
Report the error if the destination branch does not exist
2021-12-14 23:46:24 +00:00
Carles Pina i Estany
e6c065d351
Fix text
2021-12-14 23:41:43 +00:00
Carles Pina i Estany
e7314057a0
Fix deleting of files when TARGET_DIRECTORY is not specified
2021-12-08 23:55:47 +01:00
Carles Pina i Estany
24c550e8a7
Merge branch 'main' of github.com:cpina/github-action-push-to-another-repository into main
2021-12-08 23:34:05 +01:00
Carles Pina i Estany
c200780764
Improve message
2021-12-08 23:33:53 +01:00
Carles Pina Estany
6e36e20d0e
Merge pull request #44 from rottencandy/patch-2
...
Update documentation for target-branch
2021-11-10 08:58:48 +01:00
Mohammed Saud
cdae6bf3fc
Update documentation for target-branch
...
Target branch was defaulted to main in b97d556c
But the readme documentation was not updated.
2021-11-10 13:11:24 +05:30
Carles Pina i Estany
460cd93e14
Restore the .git even in the code path without target_directory
2021-10-26 00:04:38 +01:00
Carles Pina i Estany
66ead10846
Delete unnedded code
2021-10-26 00:02:51 +01:00
Carles Pina i Estany
5ca36a784d
If no directory to be deleted avoids... deleting the directory
2021-10-25 23:55:36 +01:00
Carles Pina i Estany
371fdd6652
Avoid unneeded check
2021-10-25 23:47:44 +01:00
Carles Pina i Estany
df5ac1b335
Merge branch 'patch-1' into main
2021-10-25 23:41:08 +01:00
Carles Pina i Estany
f7a5c6e388
Change the order (all the required and then all the optionals)
2021-10-25 23:32:18 +01:00
Carles Pina i Estany
9ed2368a01
server is not required (default was already set)
2021-10-25 23:31:41 +01:00
Carles Pina Estany
eb81a2a185
Merge pull request #35 from oshdev/patch-1
...
fix(target-branch): historical branch name
2021-10-25 23:06:42 +01:00
Carles Pina i Estany
af82da7f2b
Use indentation consistenly
2021-10-25 23:03:05 +01:00
Carles Pina Estany
d4122690a7
Merge pull request #41 from DevOpenWRT-Router/main
...
Target directory on destination repo
2021-10-25 22:55:10 +01:00
Osh Slomczynski
aa69941031
fix(target-branch): historical branch name
...
Historical value for the default `target-branch` option was and still is `master`: 2ebe0cc15f/action.yml (L26)
2021-09-02 13:10:12 +01:00
Eliminater74
44d7a5c0f9
Update Fix
2021-08-31 06:04:57 -04:00
Eliminater74
2708e223bc
Update entrypoint.sh Cleanup
2021-08-29 18:15:51 -04:00
Eliminater74
38d751da52
Update action.yml Script: Cleanup
2021-08-29 18:07:37 -04:00
Eliminater74
ed4074dd02
Another fix
2021-08-29 09:30:34 -04:00
Eliminater74
52acf3c68c
fixme
2021-08-29 09:26:38 -04:00
Eliminater74
7a8c60c186
Add some fixes
2021-08-29 08:24:21 -04:00
Eliminater74
b4480ee4f3
Dockerfile: FROM alpine:latest
2021-08-21 08:28:35 -04:00
Eliminater74
b646e274db
Update: entrypoint.sh
2021-08-20 20:54:32 -04:00
Eliminater74
b97d556c1d
Update: action.yml
2021-08-20 19:30:49 -04:00
Eliminater74
67a3a057c8
Update: enterypoint.sh
2021-08-20 19:23:03 -04:00
Michael Ryan
12ff072138
Fixed mistake in readme
...
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
2021-08-20 18:57:40 -04:00
Michael Ryan
f87dd89716
Modified so this could be deployed to github marketplace
...
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
2021-08-20 18:57:09 -04:00
Michael Ryan
520a9d8c28
Allows pushing to target directory in target repo
...
Signed-off-by: Eliminater74 <eliminater74@gmail.com>
2021-08-20 18:56:37 -04:00
Eliminater74
448b7dad95
Test FIX
2021-08-20 18:40:02 -04:00
Piotr Joński
84dc6cc070
Update entrypoint.sh
2021-06-24 09:00:58 +02:00
Piotr Joński
69e1f423c8
Update action.yml
2021-06-24 09:00:26 +02:00
Piotr Joński
280163351f
Update entrypoint.sh
2021-06-24 08:59:20 +02:00
Piotr Joński
c3f0aa4db9
Add github-server input parameter
2021-06-24 08:57:24 +02:00
Carles Pina Estany
2ebe0cc15f
Merge pull request #29 from HonQii/patch-1
...
Fix could not read Username for 'https://github.com ' error
2021-05-08 12:34:02 +02:00
HonQi
6b89adc168
Fix could not read Username for ' https://github.com ' error
...
Push to the repo of another account (such as an organization) may trigger this error. Clearly indicate the account name to avoid
2021-05-06 16:28:27 +08:00
Carles Pina Estany
940a2857e5
Merge pull request #27 from JamesMCo/main
...
Add argument to specify name used in commits
2021-04-29 23:45:48 +02:00
James C
637a257cca
Add argument to specify name used in commits
2021-04-29 06:06:40 +01:00