File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change 1+ name : InvenioRDM GitHub Archiver
2+ env :
3+ INVENIO_SERVER : https://data.caltech.edu
4+
5+ # These variables are IGA options. Please see the docs for info.
6+ draft : false
7+ all_assets : false
8+ all_metadata : false
9+ community : none
10+ parent_record : none
11+ debug : false
12+
13+ # ~~~~~~~~~~ The rest of this file should be left as-is ~~~~~~~~~~
14+ on :
15+ release :
16+ types : [published]
17+ workflow_dispatch :
18+ inputs :
19+ release_tag :
20+ description : " The tag of the release to archive:"
21+ draft :
22+ default : false
23+ description : " Mark the record as a draft:"
24+ all_assets :
25+ default : false
26+ description : " Attach all GitHub assets:"
27+ all_metadata :
28+ default : false
29+ description : " Include additional GitHub metadata:"
30+ community :
31+ description : " Send record to InvenioRDM community:"
32+ parent_record :
33+ description : " ID of parent record (for versioning):"
34+ jobs :
35+ Send_to_InvenioRDM :
36+ runs-on : ubuntu-latest
37+ steps :
38+ - uses : caltechlibrary/iga@main
39+ with :
40+ INVENIO_SERVER : ${{env.INVENIO_SERVER}}
41+ INVENIO_TOKEN : ${{secrets.INVENIO_TOKEN}}
42+ all_assets : ${{github.event.inputs.all_assets || env.all_assets}}
43+ all_metadata : ${{github.event.inputs.all_metadata || env.all_metadata}}
44+ debug : ${{github.event.inputs.debug || 'false'}}
45+ draft : ${{github.event.inputs.draft || env.draft}}
46+ community : ${{github.event.inputs.community || env.community}}
47+ parent_record : ${{github.event.inputs.parent_record || env.parent_record}}
48+ release_tag : ${{github.event.inputs.release_tag || 'latest'}}
You can’t perform that action at this time.
0 commit comments