Skip to content

Commit 758ee05

Browse files
Merge pull request #2 from GuillaumeFalourd/test
Fix for `.github` repository URL
2 parents dfaa238 + ee08793 commit 758ee05

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ runs:
5252
HOSTNAME=${BASH_REMATCH[3]}
5353
DESTINATION_OWNER=${BASH_REMATCH[4]}
5454
DESTINATION_REPOSITORY=${BASH_REMATCH[5]}
55-
if [[ $DESTINATION_REPOSITORY == *'.git'* ]] && [[ $DESTINATION_REPOSITORY != *'.github.io'* ]]; then
55+
if [[ $DESTINATION_REPOSITORY == *'.git'* ]] && [[ $DESTINATION_REPOSITORY != *'.github.io'* ]] && [[ $DESTINATION_REPOSITORY != *'.github'* ]]; then
5656
DESTINATION_REPOSITORY=${DESTINATION_REPOSITORY//.git/ }
5757
fi
5858

0 commit comments

Comments
 (0)