eexiv/.github/workflows/zenodo.yml
2024-02-15 14:15:38 -08:00

23 lines
535 B
YAML

name: Upload to Zenodo
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
working-directory: ./scripts
env:
ZENODO: ${{ secrets.ZENODO }}
run: bash run.sh ${{ inputs.name }} ${{ inputs.path }}