Skip to content

Commit

Permalink
forgot token
Browse files Browse the repository at this point in the history
Signed-off-by: vsoch <[email protected]>
  • Loading branch information
vsoch committed Mar 4, 2022
1 parent 9503bde commit 774fff4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
version: ${{ github.event.release.tag_name }}
zenodo_json: .zenodo.json
archive: ${{ env.archive }}
token: ${{ secrets.ZENODO_TOKEN }}

- name: View Outputs
env:
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ jobs:
- name: Run Zenodo Deploy
uses: rseng/zenodo-release@main
with:
token: ${{ secrets.ZENODO_TOKEN }}
version: ${{ github.event.release.tag_name }}
zenodo_json: .zenodo.json
archive: ${{ env.archive }}
Expand All @@ -67,6 +68,7 @@ If you want to see or do something with the outputs, add an `id` to the deploy s
id: deploy
uses: rseng/zenodo-release@main
with:
token: ${{ secrets.ZENODO_TOKEN }}
version: ${{ github.event.release.tag_name }}
zenodo_json: .zenodo.json
archive: ${{ env.archive }}
Expand Down
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ inputs:
archive:
description: the path to the release archive
required: true
token:
description: zenodo token
required: true
version:
description: the release version
required: true
Expand Down Expand Up @@ -50,6 +53,6 @@ runs:
archive: ${{ inputs.archive }}
version: ${{ inputs.version }}
ACTION_PATH: ${{ github.action_path }}
ZENODO_TOKEN: ${{ secrets.ZENODO_TOKEN }}
ZENODO_TOKEN: ${{ inputs.token }}
run: python ${{ github.action_path }}/scripts/deploy.py upload ${archive} --zenodo-json ${zenodo_json} --version ${version}
shell: bash

0 comments on commit 774fff4

Please sign in to comment.