From 03ed4ad5417ab185e579094428046709d3bd9bc1 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Tue, 23 Jun 2026 15:27:47 +0200 Subject: [PATCH] [CI] Add uploads for amr and ps cheat sheets --- .github/workflows/upload-amr.yml | 17 +++++++++++++++++ .github/workflows/upload-wus.yml | 17 +++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 .github/workflows/upload-amr.yml create mode 100644 .github/workflows/upload-wus.yml diff --git a/.github/workflows/upload-amr.yml b/.github/workflows/upload-amr.yml new file mode 100644 index 0000000..82805fa --- /dev/null +++ b/.github/workflows/upload-amr.yml @@ -0,0 +1,17 @@ +name: Upload Autonomous Mobile Robots CheatSheet +on: + push: + paths: + - 'electives/amr/autonomous-mobile-robots-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_AMR }} + file: ./electives/amr/autonomous-mobile-robots-cheatsheet.pdf + url: https://exams.vis.ethz.ch/api/document/jahutz/cheatsheet-fs2026/files/792/update/ diff --git a/.github/workflows/upload-wus.yml b/.github/workflows/upload-wus.yml new file mode 100644 index 0000000..9a080ce --- /dev/null +++ b/.github/workflows/upload-wus.yml @@ -0,0 +1,17 @@ +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/