name: Upload Wahrscheinlichkeit und Statistik CheatSheet
on:
  push:
    paths:
      - 'semester4/ps/ps-jh/probability-and-statistics-cheatsheet.pdf'
jobs:
  upload_document:
    runs-on: ubuntu-latest
    steps:
      - name: Set up Git repository
        uses: actions/checkout@v6
      - name: Upload to ComSol
        uses: ./.github/actions/upload-to-comsol
        with:
          access_token: ${{ secrets.TOKEN_WUS_JH }}
          file: ./semester4/ps/ps-jh/probability-and-statistics-cheatsheet.pdf
          url: https://exams.vis.ethz.ch/api/document/jahutz/cheatsheet-fs2026_0/files/793/update/
