-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,4 +11,11 @@ jobs: | |
curl --request GET \ | ||
--url https://api.github.com/repos/${{ github.repository }}/traffic/views \ | ||
--header 'authorization: Bearer ${{ secrets.TRAFFIC_API }}' \ | ||
--header 'content-type: application/json' >> $GITHUB_WORKSPACE/traffic/views.json | ||
--header 'content-type: application/json' >> $GITHUB_WORKSPACE/traffic/views.json- name: Commit and Push Changes | ||
- name: Commit and Push Changes | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Actions" | ||
git add . | ||
git commit -m "Update traffic views data" | ||
git push origin trimAl |