Skip to content

Commit

Permalink
Update traffic.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodr97 authored Nov 16, 2023
1 parent 50bf477 commit 95eeb33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/traffic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ jobs:
- uses: actions/checkout@v3
- name: Fetch views data
run: |
pwd &&
curl --request GET \
--url https://api.github.com/repos/${{ github.repository }}/traffic/views \
--header 'authorization: Bearer ${{ secrets.TRAFFIC_API }}' \
--header 'content-type: application/json' >> traffic/views.json
--header 'content-type: application/json' >> traffic/views.json && cat traffic/views.json

0 comments on commit 95eeb33

Please sign in to comment.