Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

.github/workflows/main.yml #138

.github/workflows/main.yml

.github/workflows/main.yml #138

Workflow file for this run

on:
schedule:
- cron: "0 12 * * SUN"
# Store traffic data for more than 14 days
jobs:
traffic:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: ARHeadsetKit traffic
uses: sangonzal/[email protected]
env:
TRAFFIC_ACTION_TOKEN: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
- name: Store ARHeadsetKit traffic
uses: dmnemec/[email protected]
env:
API_TOKEN_GITHUB: ${{ secrets.TRAFFIC_ACTION_TOKEN }}
with:
source_file: './traffic/'
destination_repo: ${{ secrets.TRAFFIC_DESTINATION }}
destination_folder: ${{ secrets.ARHEADSETKIT_TRAFFIC_FOLDER }}
user_email: ${{ secrets.EMAIL }}
user_name: ${{ secrets.USERNAME }}