[CI] Add auto upload of all complete summaries

This commit is contained in:
2025-12-31 11:04:36 +01:00
parent 2e0b24982b
commit 341fd9ab6e
6 changed files with 92 additions and 1 deletions

23
.github/workflows/upload-anaI-jh.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: Upload Analysis I (by janishutz) Cheat-Sheet
on:
push:
paths:
- 'semester2/analysis-i/cheat-sheet-jh/**'
jobs:
upload_document:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v6
- name: Upload English version to ComSol
uses: ./.github/actions/upload-to-comsol
with:
access_token: ${{ secrets.TOKEN_ANA_I_JH }}
file: ./semester2/analysis-i/cheat-sheet-jh/cheat-sheet-en.pdf
url: https://exams.vis.ethz.ch/api/document/jahutz/analysis-i-cheatsheet-fs25/files/654/update/
- name: Upload German version to ComSol
uses: ./.github/actions/upload-to-comsol
with:
access_token: ${{ secrets.TOKEN_ANA_I_JH }}
file: ./semester2/analysis-i/cheat-sheet-jh/cheat-sheet-de.pdf
url: https://exams.vis.ethz.ch/api/document/jahutz/analysis-i-cheatsheet-fs25/files/655/update/