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

26 lines
599 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: Checkout
uses: actions/checkout@v3
- name: Run Zenodo uploader
working-directory: scripts
env:
ZENODO: ${{ secrets.ZENODO }}
run: bash run.sh ${{ inputs.name }} ${{ inputs.path }}