Skip to content

Commit

Permalink
forgot to add token to curl call
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaardsholt committed Jul 21, 2020
1 parent 3681b95 commit dd2689f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ jobs:
- run:
name: Upload release assets
command: |
id=$(curl https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/releases | jq -r --arg tag $CIRCLE_TAG '.[] | select(.tag_name == $tag) | .id')
id=$(curl https://api.github.com/repos/$CIRCLE_PROJECT_USERNAME/$CIRCLE_PROJECT_REPONAME/releases -H "authorization: token $GH_TOKEN" | jq -r --arg tag $CIRCLE_TAG '.[] | select(.tag_name == $tag) | .id')
FILES=$(ls -l terraform-provider-netbox* | awk '{print $9}')
for f in $FILES
do
Expand Down

0 comments on commit dd2689f

Please sign in to comment.