Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
taylanu authored Feb 28, 2024
1 parent eeaca4c commit e44014a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
API_URL_TOP_PATHS="https://api.github.com/repos/${{ github.repository }}/traffic/popular/paths"
API_URL_TOP_REFERRERS="https://api.github.com/repos/${{ github.repository }}/traffic/popular/referrers"
API_URL_VIEWS="https://api.github.com/repos/${{ github.repository }}/traffic/views"
AUTH_HEADER="Authorization: token ${{ secrets.GITHUB_TOKEN }}"
AUTH_HEADER="Authorization: token ${{ secrets.PAT }}"
curl -sSL -H "${AUTH_HEADER}" "${API_URL_CLONES}" > clones.json
curl -sSL -H "${AUTH_HEADER}" "${API_URL_TOP_PATHS}" > top_paths.json
curl -sSL -H "${AUTH_HEADER}" "${API_URL_TOP_REFERRERS}" > top_referrers.json
Expand Down

0 comments on commit e44014a

Please sign in to comment.