diff --git a/.github/workflows/communities-create-graph.yaml b/.github/workflows/communities-create-graph.yaml index 9cdf9bd23a8c6..8772dcb23d864 100644 --- a/.github/workflows/communities-create-graph.yaml +++ b/.github/workflows/communities-create-graph.yaml @@ -21,7 +21,6 @@ jobs: - name: Checkout code repository uses: actions/checkout@v4 with: - path: ./code repository: colonial-heritage/integration-layer - name: Install Node uses: actions/setup-node@v4 @@ -29,20 +28,18 @@ jobs: node-version: "20" - name: Install app run: | - cd ./code npm install --no-progress npx turbo run build --filter=@colonial-collections/graph-create-communities - name: Create graph env: CLERK_SECRET_KEY: ${{ secrets.CLERK_SECRET_KEY }} run: | - cd ./code - mkdir -p "$RUNNER_TEMP" ./apps/graph-create-communities/dist/cli.js create \ - --file "$RUNNER_TEMP/communities.nt" \ - --graph "https://data.colonialcollections.nl/communities" \ + --resource-dir "$RUNNER_TEMP" \ --triplydb-instance-url "${{ vars.TRIPLYDB_INSTANCE_URL }}" \ --triplydb-api-token "${{ secrets.TRIPLYDB_API_TOKEN }}" \ --triplydb-account "${{ vars.TRIPLYDB_ACCOUNT }}" \ --triplydb-dataset "${{ vars.TRIPLYDB_DATASET_KG }}" \ - --triplydb-service "kg" + --triplydb-service "kg" \ + --graph-name "https://data.colonialcollections.nl/communities" \ + --temp-dir "$RUNNER_TEMP"