File tree Expand file tree Collapse file tree 1 file changed +27
-0
lines changed
Expand file tree Collapse file tree 1 file changed +27
-0
lines changed Original file line number Diff line number Diff line change 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/action@0.10.0
21+ with :
22+ collection : 1404735
23+ metadata : .zenodo.json
24+ publish : false
25+ sandbox : false
26+ upsert-doi : true
27+ upsert-location : identifiers[0]
You can’t perform that action at this time.
0 commit comments