Skip to content

Run xbox-cloud-statistics #66173

Run xbox-cloud-statistics

Run xbox-cloud-statistics #66173

Workflow file for this run

name: Run xbox-cloud-statistics
on:
schedule:
- cron: "*/5 * * * *"
workflow_dispatch:
concurrency:
group: xbox-cloud-statistics
cancel-in-progress: true
permissions:
contents: write
jobs:
run:
name: Run xbox-cloud-statistics
runs-on: self-hosted
environment: run
steps:
- uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: "poetry"
- name: Install Dependencies
run: poetry install --only main
- name: Run xbox-cloud-statistics
env:
CLIENT_ID: ${{ secrets.CLIENT_ID }}
CLIENT_SECRET: ${{ secrets.CLIENT_SECRET }}
F2P_TOKEN: ${{ secrets.F2P_TOKEN }}
GPU_TOKEN: ${{ secrets.GPU_TOKEN }}
INFLUXDB_URL: ${{ secrets.INFLUXDB_URL }}
INFLUXDB_TOKEN: ${{ secrets.INFLUXDB_TOKEN }}
INFLUXDB_ORG: ${{ secrets.INFLUXDB_ORG }}
INFLUXDB_BUCKET: ${{ secrets.INFLUXDB_BUCKET }}
shell: bash
run: poetry run xbox-cloud-statistics | tee -a $GITHUB_STEP_SUMMARY