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:17:03 -08:00
|
|
|
working-directory: scripts
|
2024-02-15 14:11:49 -08:00
|
|
|
env:
|
2024-02-15 14:13:02 -08:00
|
|
|
ZENODO: ${{ secrets.ZENODO }}
|
2024-02-15 14:15:38 -08:00
|
|
|
run: bash run.sh ${{ inputs.name }} ${{ inputs.path }}
|
|
|
|
|