Skip to content

Commit

Permalink
ci: add traffic wf
Browse files Browse the repository at this point in the history
  • Loading branch information
guidograzioli committed Jun 27, 2024
1 parent b692b44 commit c766590
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/traffic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Collect traffic stats
on:
schedule:
- cron: "51 23 * * 0"
workflow_dispatch:

jobs:
traffic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: "gh-pages"

- name: GitHub traffic
uses: sangonzal/[email protected]
env:
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRIGGERING_PAT }}

- name: Commit changes
uses: EndBug/add-and-commit@v4
with:
author_name: Ansible Middleware
message: "GitHub traffic"
add: "./traffic/*"
ref: "gh-pages"

0 comments on commit c766590

Please sign in to comment.