Commit Graph

94 Commits

Author SHA1 Message Date
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
Carles Pina i Estany
5c472514b3 Better use "$" to make it clear that this is going to be escaped 2021-04-25 17:59:53 +01:00
Carles Pina i Estany
cb0e53ecbe Try to let users use GITHU_REF variable in the commit message 2021-04-25 17:53:31 +01:00
Carles Pina i Estany
8e9bfb00e6 Improve error message 2021-04-25 11:26:51 +01:00
Carles Pina i Estany
9b1e7ac6a5 Fix indentation (spaces) 2021-04-25 11:22:41 +01:00
Carles Pina i Estany
3a9dc3773c Uses "main" branch instead of "master" for the examples, instructions, etc. 2021-04-25 11:09:13 +01:00
Carles Pina i Estany
88287f5737 Fix markdown 2021-04-25 10:59:12 +01:00
Carles Pina i Estany
85a0ac138a Improve the error message 2021-04-25 10:57:58 +01:00
Carles Pina i Estany
bb3e4ea525 Add a check in entrypoint.sh to help users if the source directory does not exist
Updated documentation
2021-04-25 10:55:07 +01:00
Carles Pina i Estany
f30895310c Fixed issue deleting files that need to be deleted from the target repo
See #16
2020-12-02 20:04:04 +00:00
Carles Pina i Estany
f5a3797d5b Fix typo 2020-12-02 16:21:05 +00:00
Carles Pina i Estany
ec672cbc0a Fixed deleting files from $CLONE_DIR (keep $CLONE_DIR/.git and deletes files like $CLONE_DIR/.gitattributes)
Thanks @ruuk for the report
2020-12-02 16:16:04 +00:00
Carles Pina i Estany
e7bc77c21d Added verbose 2020-12-02 15:51:35 +00:00