mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-01-13 02:38:25 +00:00
[CI] Syntax fixes
This commit is contained in:
6
.github/actions/upload-to-comsol/action.yml
vendored
6
.github/actions/upload-to-comsol/action.yml
vendored
@@ -13,9 +13,9 @@ runs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Upload file to ComSol
|
- name: Upload file to ComSol
|
||||||
run: |
|
run: |
|
||||||
curl {{ inputs.url }} \
|
curl ${{ inputs.url }} \
|
||||||
-H "Authorization: {{ inputs.access_token }}" \
|
-H "Authorization: ${{ inputs.access_token }}" \
|
||||||
-F "file=@{{ inputs.file }}"
|
-F "file=@${{ inputs.file }}"
|
||||||
branding:
|
branding:
|
||||||
icon: book
|
icon: book
|
||||||
color: red
|
color: red
|
||||||
|
|||||||
2
.github/workflows/upload-ad.yml
vendored
2
.github/workflows/upload-ad.yml
vendored
@@ -12,6 +12,6 @@ jobs:
|
|||||||
- name: Upload to ComSol
|
- name: Upload to ComSol
|
||||||
uses: ./.github/actions/upload-to-comsol
|
uses: ./.github/actions/upload-to-comsol
|
||||||
with:
|
with:
|
||||||
access_token: {{ secrets.TOKEN_AD }}
|
access_token: ${{ secrets.TOKEN_AD }}
|
||||||
file: ./semester1/algorithms-and-datastructures/ad-janishutz.pdf
|
file: ./semester1/algorithms-and-datastructures/ad-janishutz.pdf
|
||||||
url: https://exams.vis.ethz.ch/api/document/jahutz/summary-hs24_1/files/591/update/
|
url: https://exams.vis.ethz.ch/api/document/jahutz/summary-hs24_1/files/591/update/
|
||||||
|
|||||||
Reference in New Issue
Block a user