Skip to content

Release: 31/05/2024 - tektonik #4

Release: 31/05/2024 - tektonik

Release: 31/05/2024 - tektonik #4

name: Publish the new Tektonic RDF to GraphDB/Public
on:
pull_request:
types:
- closed
jobs:
publish_gps:
runs-on: ubuntu-latest
if: "github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'"
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Upload file via PUT to graphdb-gps
env:
FILE_PATH: ./tektonik.rdf # percorso del file che vuoi caricare
PUT_URL: https://dev-graphdbgps.swissgeol.ch/publish/tektonik_swisstopo_public_core?context=https://lexic.swissgeol.ch
TOKEN: ${{ secrets.LEXIC_CONTROLLED_VOCABULARIES_GRAPHDB_GPS_TOKEN }}
run: |
curl -X PUT -T $FILE_PATH -H "Authorization: Bearer $TOKEN" $PUT_URL