diff --git a/resources/gitpublish.sh b/resources/gitpublish.sh index 1c8f33ec7a..adbfed7952 100755 --- a/resources/gitpublish.sh +++ b/resources/gitpublish.sh @@ -35,7 +35,7 @@ fi; # Create empty directory rm -rf $BRANCH -git clone -b $BRANCH -- "https://yaacovCR:${GH_TOKEN}@github.com/yaacovCR/graphql-executor.git" $BRANCH +git clone -b $BRANCH -- "https://${GITHUB_ACTOR}:${GH_TOKEN}@github.com/yaacovCR/graphql-executor.git" $BRANCH # Remove existing files first rm -rf $BRANCH/**/*