Skip to content

Commit 266bc8f

Browse files
authored
Merge pull request #443 from NLeSC/fix_zenodraft
Fix zenodraft
2 parents 8a89cf9 + e7261a4 commit 266bc8f

File tree

4 files changed

+13
-272
lines changed

4 files changed

+13
-272
lines changed

.github/workflows/pdf.yml

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/workflows/upload-pdf.yml

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,29 +34,33 @@ jobs:
3434
-e "NO_SANDBOX=true" \
3535
ghcr.io/kernoeb/docker-docsify-pdf:main
3636
37-
- name: Create a draft snapshot on Zenodo Sandbox using metadata
38-
from repository file .zenodo.json
37+
- name: Generate .zenodo.json from CITATION.cff
38+
uses: citation-file-format/[email protected]
39+
with:
40+
args: "--format zenodo --outfile .zenodo.json"
41+
42+
- name: Create a draft snapshot on Zenodo Sandbox
3943
if: github.event_name == 'workflow_dispatch'
4044
env:
4145
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4246
ZENODO_SANDBOX_ACCESS_TOKEN: ${{ secrets.ZENODO_SANDBOX_ACCESS_TOKEN }}
4347
uses: zenodraft/[email protected]
4448
with:
45-
# concept: 14965744 # must be replaced when the record has been created the first time
46-
metadata: .zenodo.json
49+
concept: 277497 # doesn't matter which it is, it is only for testing
4750
publish: false
4851
sandbox: true
4952
filenames: guide-nlesc.pdf
53+
metadata: .zenodo.json
5054

51-
- name: Create a new snapshot in the Zenodo record
55+
- name: Create a new draft snapshot in the Zenodo record
5256
if: github.event_name == 'release'
5357
env:
5458
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5559
ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
5660
uses: zenodraft/[email protected]
5761
with:
58-
concept: 4020622
59-
metadata: .zenodo.json
62+
concept: 4020564
6063
publish: false # let the user press the publish button manually
6164
sandbox: false
6265
filenames: guide-nlesc.pdf
66+
metadata: .zenodo.json

.zenodo.json

Lines changed: 0 additions & 215 deletions
This file was deleted.

CITATION.cff

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Visit https://bit.ly/cffinit to generate yours today!
33

44
cff-version: 1.2.0
5-
title: Software Development Guide
5+
title: Netherlands eScience Center - Software Development Guide
66
message: "If you use this guide, please cite it."
77
type: software
88
authors:
@@ -32,6 +32,7 @@ authors:
3232
- affiliation: Netherlands eScience Center
3333
family-names: Bos
3434
given-names: Patrick
35+
orcid: "https://orcid.org/0000-0002-6033-960X"
3536
- family-names: Kuzak
3637
given-names: Mateusz
3738
orcid: "https://orcid.org/0000-0003-0087-6021"

0 commit comments

Comments
 (0)