File tree 1 file changed +11
-11
lines changed
1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -4,17 +4,17 @@ set -e # if a command fails it stops the execution
4
4
set -u # script fails if trying to access to an undefined variable
5
5
6
6
echo " [+] Action start"
7
- SOURCE_BEFORE_DIRECTORY=" $1 "
8
- SOURCE_DIRECTORY=" $2 "
9
- DESTINATION_GITHUB_USERNAME=" $3 "
10
- DESTINATION_REPOSITORY_NAME=" $4 "
11
- GITHUB_SERVER=" $5 "
12
- USER_EMAIL=" $6 "
13
- USER_NAME=" $7 "
14
- DESTINATION_REPOSITORY_USERNAME=" $8 "
15
- TARGET_BRANCH=" $9 "
16
- COMMIT_MESSAGE=" $1 0 "
17
- TARGET_DIRECTORY=" $1 1 "
7
+ SOURCE_BEFORE_DIRECTORY=" ${1} "
8
+ SOURCE_DIRECTORY=" ${2} "
9
+ DESTINATION_GITHUB_USERNAME=" ${3} "
10
+ DESTINATION_REPOSITORY_NAME=" ${4} "
11
+ GITHUB_SERVER=" ${5} "
12
+ USER_EMAIL=" ${6} "
13
+ USER_NAME=" ${7} "
14
+ DESTINATION_REPOSITORY_USERNAME=" ${8} "
15
+ TARGET_BRANCH=" ${9} "
16
+ COMMIT_MESSAGE=" ${10} "
17
+ TARGET_DIRECTORY=" ${11} "
18
18
19
19
if [ -z " $DESTINATION_REPOSITORY_USERNAME " ]
20
20
then
You can’t perform that action at this time.
0 commit comments