mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-01-11 19:48:27 +00:00
[CI] Add upload for TI and NumCS
This commit is contained in:
17
.github/workflows/upload-numcs.yml
vendored
Normal file
17
.github/workflows/upload-numcs.yml
vendored
Normal 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
17
.github/workflows/upload-ti-compact.yml
vendored
Normal 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
17
.github/workflows/upload-ti-full.yml
vendored
Normal 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/
|
||||||
Reference in New Issue
Block a user