-
Notifications
You must be signed in to change notification settings - Fork 6
25 lines (25 loc) · 1.16 KB
/
push-ontology-event-types.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Push Event Types to Artsdata
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Set current date as output
id: version # this is used on variable path
run: echo "dumpdate=$(date +'%Y-%m-%dT%H-%M-%S')" >> $GITHUB_OUTPUT
- name: Call Artsdata Databus
run: |
curl \
-H 'Content-Type: application/json' \
-X POST http://api.artsdata.ca/databus/ \
--data '{ "artifact": "skos-event-types",
"comment": "Artsdata Event Types",
"publisher": "${{ secrets.PUBLISHER_URI_GREGORY }}",
"group": "${{ github.event.repository.name }}",
"version": "${{ steps.version.outputs.dumpdate }}",
"downloadUrl": "https://raw.githubusercontent.com/culturecreates/artsdata-data-model/4a95946660af7dcf6d39234f5f8bccb7c7bafdfc/ontology/skos-event-types.ttl",
"downloadFile": "skos-event-types.ttl",
"shacl": "skos",
"reportCallbackUrl": "https://huginn-staging.herokuapp.com/users/1/web_requests/273/databus"
}'