Skip to content

Commit 088ec43

Browse files
committed
changed workflow
1 parent ba1a1a9 commit 088ec43

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/workflow.yml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,22 @@
1-
on:
1+
name: Upload to Dataverse
2+
3+
on:
24
push:
3-
workflow_dispatch:
5+
branches:
6+
- main
7+
workflow_dispatch:
48

59
jobs:
610
build:
711
runs-on: ubuntu-latest
12+
813
steps:
9-
- name: Send repo to Dataverse
14+
- name: Checkout code
15+
uses: actions/checkout@v2
16+
17+
- name: Send repo to Dataverse
1018
uses: IQSS/dataverse-uploader@v1.6
1119
with:
12-
DATAVERSE_TOKEN: ${{secrets.DATAVERSE_TOKEN}}
20+
DATAVERSE_TOKEN: ${{ secrets.DATAVERSE_TOKEN }}
1321
DATAVERSE_SERVER: https://darus.uni-stuttgart.de/dataverse/darus
14-
DATAVERSE_DATASET_DOI: doi:10.18419/DARUS-5297
22+
DATAVERSE_DATASET_DOI: doi:10.18419/DARUS-5297

0 commit comments

Comments
 (0)