Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

Commit

Permalink
build: use GitHub token for API requests (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
jawid-h authored Oct 21, 2020
1 parent 6a204cc commit c4fb232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ install:
- npm ci
- cp .env.example .env
# Get the latest version of travis-ci-tools
- curl -s https://api.github.com/repos/dashevo/travis-ci-tools/releases/latest | jq -r '.tarball_url' | xargs -I {} -n1 wget -O travis-ci-tools.tar.gz -q {}
- curl -u $GITHUB_USER:$GITHUB_TOKEN -s https://api.github.com/repos/dashevo/travis-ci-tools/releases/latest | jq -r '.tarball_url' | xargs -I {} -n1 wget -O travis-ci-tools.tar.gz -q {}
- mkdir ~/travis-ci-tools && tar -C ~/travis-ci-tools -xvf travis-ci-tools.tar.gz
- export CI_TOOLS_DIR="$(ls ~/travis-ci-tools)"
- cd ~/travis-ci-tools/$CI_TOOLS_DIR
Expand Down

0 comments on commit c4fb232

Please sign in to comment.