Skip to content

Commit 7e643d3

Browse files
Added workflow for zenodo sandbox publishing
1 parent 1574845 commit 7e643d3

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Software publication on Zenodo Sandbox
2+
3+
on:
4+
push:
5+
tags:
6+
- "*"
7+
8+
jobs:
9+
hermes-plugin-python:
10+
name: HERMES-PLUGIN-PYTHON
11+
runs-on: ubuntu-latest
12+
permissions:
13+
contents: read # We will only read content from the repo
14+
# pull-requests: write # Postprocessing should be able to create a pull request with changes
15+
steps:
16+
- uses: actions/checkout@v2
17+
- uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.12'
20+
- run: pip install .
21+
- run: git archive --format zip HEAD src > hermes-plugin-python.zip
22+
- run: hermes harvest
23+
- run: hermes process
24+
- run: hermes curate
25+
- run: hermes deposit --auth-token ${{ secrets.ZENODO_SANDBOX }} --file hermes-plugin-python.zip --file README.md

0 commit comments

Comments
 (0)