Skip to content

Commit be4311a

Browse files
authored
Update TEMPLATE_hermes_github_to_zenodo.yml
1 parent 506b7f6 commit be4311a

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

TEMPLATE_hermes_github_to_zenodo.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- uses: actions/setup-python@v4
4949
with:
5050
python-version: '3.10'
51-
- run: pip install git+https://github.com/softwarepub/hermes.git@feature/init-command
51+
- run: pip install git+https://github.com/softwarepub/hermes.git
5252
- run: hermes harvest
5353
- run: hermes process
5454
- run: hermes curate
@@ -92,12 +92,12 @@ jobs:
9292
- uses: actions/setup-python@v4
9393
with:
9494
python-version: '3.10'
95-
- run: pip install git+https://github.com/softwarepub/hermes.git@feature/init-command
95+
- run: pip install git+https://github.com/softwarepub/hermes.git
9696

9797
# ADAPT
9898
# If you want to publish artifacts (e.g., a zipped snapshot of your repository),
9999
# you can prepare this here.
100-
- run: git archive --format zip HEAD src > showcase.zip
100+
- run: git archive --format zip HEAD src > artifact.zip
101101

102102
# Run the HERMES deposition and postprocessing steps.
103103
# ADAPT
@@ -106,7 +106,7 @@ jobs:
106106
# 2. Adapt the files you want to deposit. In the example, showcase.zip and README.md are deposited alongside the metadata.
107107
# 3. Check if you want to run with '--initial', as this may potentially create a completely new record (collection),
108108
# rather than a new version of the same collection!
109-
- run: hermes deposit --initial -O invenio_rdm.auth_token ${{ secrets.ZENODO_SANDBOX }} --file showcase.zip --file README.md
109+
- run: hermes deposit --initial -O invenio_rdm.auth_token ${{ secrets.ZENODO_SANDBOX }} --file artifact.zip --file README.md
110110
- if: ${{ env.ZENODO_TOKEN_REFRESH != '' }}
111111
run: hermes init --only-set-refresh-token --github-token ${{ secrets.GITHUB_TOKEN }}
112112

0 commit comments

Comments
 (0)