diff --git a/.github/actions/upload-to-comsol/action.yml b/.github/actions/upload-to-comsol/action.yml index 9bf910b..3793754 100644 --- a/.github/actions/upload-to-comsol/action.yml +++ b/.github/actions/upload-to-comsol/action.yml @@ -13,9 +13,9 @@ runs: steps: - name: Upload file to ComSol run: | - curl {{ inputs.url }} \ - -H "Authorization: {{ inputs.access_token }}" \ - -F "file=@{{ inputs.file }}" + curl ${{ inputs.url }} \ + -H "Authorization: ${{ inputs.access_token }}" \ + -F "file=@${{ inputs.file }}" branding: icon: book color: red diff --git a/.github/workflows/upload-ad.yml b/.github/workflows/upload-ad.yml index ad37b82..323cf55 100644 --- a/.github/workflows/upload-ad.yml +++ b/.github/workflows/upload-ad.yml @@ -12,6 +12,6 @@ jobs: - name: Upload to ComSol uses: ./.github/actions/upload-to-comsol with: - access_token: {{ secrets.TOKEN_AD }} + access_token: ${{ secrets.TOKEN_AD }} file: ./semester1/algorithms-and-datastructures/ad-janishutz.pdf url: https://exams.vis.ethz.ch/api/document/jahutz/summary-hs24_1/files/591/update/