From 2f716e36d60fa6a53190de5ccd6954d16ef970b9 Mon Sep 17 00:00:00 2001 From: Ananth Venkatesh <46249765+quantum9Innovation@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:09:01 -0800 Subject: [PATCH] Create zenodo.yml --- .github/workflows/zenodo.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/zenodo.yml diff --git a/.github/workflows/zenodo.yml b/.github/workflows/zenodo.yml new file mode 100644 index 0000000..7257852 --- /dev/null +++ b/.github/workflows/zenodo.yml @@ -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 }} +