eexiv/.github/workflows/zenodo.yml

25 lines
532 B
YAML
Raw Normal View History

2024-02-15 14:09:34 -08:00
name: Upload to Zenodo
2024-02-15 14:09:01 -08:00
on:
workflow_dispatch:
inputs:
name:
description: 'Zenodo File Upload Name'
required: true
type: string
path:
description: 'Relative file path from scripts directory'
required: true
type: string
jobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Run Zenodo uploader
2024-02-15 14:11:49 -08:00
env:
2024-02-15 14:09:01 -08:00
ZENODO: ${{ secrets.ZENODO }
2024-02-15 14:11:49 -08:00
run: |
2024-02-15 14:09:01 -08:00
cd scripts
bash run.sh ${{ inputs.name }} ${{ inputs.path }}