This repository has been archived by the owner on Jun 12, 2024. It is now read-only.
.github/workflows/main.yml #146
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
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 }} |