[CI] Add upload for TI and NumCS

This commit is contained in:
2025-12-31 11:17:51 +01:00
parent 866c91617e
commit 34712a04ce
3 changed files with 51 additions and 0 deletions

17
.github/workflows/upload-numcs.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Upload NumCS Summary
on:
push:
paths:
- 'semester3/numcs/**'
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:
file: ./semester3/numcs/numcs-summary.pdf
access_token: ${{ secrets.TOKEN_NUMCS }}
url: https://exams.vis.ethz.ch/api/document/jahutz/summary-hs25/files/657/update/

17
.github/workflows/upload-ti-compact.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Upload Theoretical Computer Science Compact Summary
on:
push:
paths:
- 'semester3/ti/compact/**'
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:
file: ./semester3/ti/compact/ti-compact.pdf
access_token: ${{ secrets.TOKEN_TI }}
url: https://exams.vis.ethz.ch/api/document/jahutz/summary-hs25_0/files/659/update/

17
.github/workflows/upload-ti-full.yml vendored Normal file
View File

@@ -0,0 +1,17 @@
name: Upload Theoretical Computer Science Summary
on:
push:
paths:
- 'semester3/ti/main/**'
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:
file: ./semester3/ti/main/ti-summary.pdf
access_token: ${{ secrets.TOKEN_TI }}
url: https://exams.vis.ethz.ch/api/document/jahutz/summary-hs25_0/files/658/update/