Create zenodo.yml
This commit is contained in:
parent
784d75986d
commit
2f716e36d6
1 changed files with 23 additions and 0 deletions
23
.github/workflows/zenodo.yml
vendored
Normal file
23
.github/workflows/zenodo.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
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
|
||||
- with:
|
||||
ZENODO: ${{ secrets.ZENODO }
|
||||
- run: |
|
||||
cd scripts
|
||||
bash run.sh ${{ inputs.name }} ${{ inputs.path }}
|
||||
|
Loading…
Reference in a new issue