We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 992961b commit cb65827Copy full SHA for cb65827
.github/workflows/zenodraft.yml
@@ -0,0 +1,27 @@
1
+name: zenodraft
2
+on:
3
+ # Trigger when you publish a release via GitHub's release page
4
+ release:
5
+ types:
6
+ - published
7
+
8
+jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: Checkout the contents of your repository
13
+ uses: actions/checkout@v2
14
+ - name: Create a draft snapshot of your repository contents as a new
15
+ version in collection 1404735 on Zenodo using metadata
16
+ from repository file .zenodo.json
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ ZENODO_ACCESS_TOKEN: ${{ secrets.ZENODO_ACCESS_TOKEN }}
20
+ uses: zenodraft/[email protected]
21
+ with:
22
+ collection: 1404735
23
+ metadata: .zenodo.json
24
+ publish: false
25
+ sandbox: false
26
+ upsert-doi: true
27
+ upsert-location: identifiers[0]
0 commit comments