Skip to content

Commit

Permalink
Use GITHUB_ACTOR environment variable in workflow (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaacovCR committed Oct 18, 2021
1 parent 43314cf commit ae50fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/gitpublish.sh
Expand Up @@ -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/**/*
Expand Down

0 comments on commit ae50fc0

Please sign in to comment.