Skip to content

Commit

Permalink
try accessing zenodo correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinkm committed Jun 3, 2024
1 parent 9d5f06e commit 3837b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/prereg-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
env:
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
run: |
deposition_id=$(curl -s -H "Authorization: Bearer $ZENODO_ACCESS_TOKEN" "https://zenodo.org/api/records?size=1000&q=doi:10.5281/zenodo.11458547" | jq -r '.[0].id')
deposition_id=$(curl -s -H "Authorization: Bearer $ZENODO_ACCESS_TOKEN" "https://zenodo.org/api/records?doi=10.5281/zenodo.11458547" | jq -r '.id')
echo "::set-output name=deposition_id::$deposition_id"
- name: Create or update Zenodo deposition
Expand Down

0 comments on commit 3837b62

Please sign in to comment.