Repository traffic workflow test 2
This commit is contained in:
parent
129bac58e1
commit
81870dc1f2
24
.github/workflows/repository-traffic.yml
vendored
24
.github/workflows/repository-traffic.yml
vendored
@ -1,6 +1,26 @@
|
||||
name: repository traffic
|
||||
on: [workflow_dispatch]
|
||||
jobs:
|
||||
traffic:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: "traffic"
|
||||
|
||||
# Calculates traffic and clones and stores in CSV file
|
||||
- name: Repository Traffic
|
||||
- name: GitHub traffic
|
||||
uses: sangonzal/repository-traffic-action@v.0.1.6
|
||||
env:
|
||||
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
|
||||
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
|
||||
|
||||
# Commits files to repository
|
||||
- name: Commit data
|
||||
uses: EndBug/add-and-commit@v4
|
||||
with:
|
||||
author_name: debevv
|
||||
message: "GitHub traffic"
|
||||
add: "./traffic/*"
|
||||
ref: "traffic" # commits to branch "traffic"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user