diff --git a/package.json b/package.json index 77e5aa1..8d40d26 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "graph:update-network": "./scripts/update-network.sh", "graph:create-hosted": "./scripts/create-hosted.sh", "graph:deploy-hosted": "./scripts/deploy-hosted.sh", + "graph:deploy-studio": "./scripts/deploy-studio.sh", "artifacts:download": "./scripts/download-artifacts.sh" }, "license": "Apache-2.0", diff --git a/scripts/deploy-studio.sh b/scripts/deploy-studio.sh index e85cb3a..43c5983 100755 --- a/scripts/deploy-studio.sh +++ b/scripts/deploy-studio.sh @@ -15,5 +15,5 @@ do CONTRACT_NAME=$(jq .name < $artifact | tr -d '"') BASENAME=$(jq .name < $artifact | tr -d '"' | tr "[:upper:]" "[:lower:]") echo "Deploying $TAG$NETWORK$VERSION$BASENAME" - (cd "subgraphs/$CONTRACT_NAME" && graph deploy --studio nevermined-io/$TAG$NETWORK$VERSION$BASENAME) + (cd "subgraphs/$CONTRACT_NAME" && graph deploy --studio $TAG$NETWORK$VERSION$BASENAME -l v3.5.7) done \ No newline at end of file