Skip to content

Update Valorant's Statistics #59

Update Valorant's Statistics

Update Valorant's Statistics #59

Workflow file for this run

name: "Update Valorant's Statistics"
on:
schedule:
- cron: "0 23 * * *"
workflow_dispatch:
jobs:
check_and_update:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v4
- name: Set up python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install Python packages
run: |
pip install -r requirements.txt
- name: Run updater.py
env:
GAMERTAG: ${{ secrets.GAMERTAG }}
run: |
python updater.py
- name: Commit and push if changed
run: |
git config user.name "Yuuka Chan"
git config user.email "[email protected]"
git diff
git add .
git commit -sm "workflow: update some magic~"
git push