mirror of
https://github.com/janishutz/eth-summaries.git
synced 2026-01-11 19:48:27 +00:00
22 lines
547 B
YAML
22 lines
547 B
YAML
name: Upload to ComSol
|
|
description: Upload documents to VIS ComSol
|
|
author: Janis Hutz
|
|
inputs:
|
|
file:
|
|
description: File to upload
|
|
access_token:
|
|
description: Access token for the file on ComSol
|
|
url:
|
|
description: The upload URL as shown in the access token details page on ComSol
|
|
runs:
|
|
using: composite
|
|
steps:
|
|
- name: Upload file to ComSol
|
|
run: |
|
|
curl ${{ inputs.url }} \
|
|
-H "Authorization: ${{ inputs.access_token }}" \
|
|
-F "file=@${{ inputs.file }}"
|
|
branding:
|
|
icon: book
|
|
color: red
|