Skip to content

Commit

Permalink
removed stderr annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-afegbua committed Jun 5, 2024
1 parent 8ccbd31 commit de261ff
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions packages/subgraph/tasks/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,10 @@ deploy_to_superfluid() {
echo "node url: $nodeUrl, subgraph name: $subgraphName"

$GRAPH_CLI create "$subgraphName" --node "$nodeUrl"
if ! output=$($GRAPH_CLI deploy "$subgraphName" \
$GRAPH_CLI deploy "$subgraphName" \
--version-label "$VERSION_LABEL" \
--node "$nodeUrl" \
--ipfs "$SUPERFLUID_IPFS_API" 2>"$error_log"); then
echo "::error file=check_processes.sh::Error log: '$error_log'"
cat "$error_log"
fi
--ipfs "$SUPERFLUID_IPFS_API"
}

deploy_to_goldsky() {
Expand All @@ -135,7 +132,7 @@ deploy_to_goldsky() {
)

local goldskyNetwork="${legacyNetworkNames[$network]:-$network}"
local subgraphName="protocol-$DEPLOYMENT_ENV-$goldskyNetwork/$VERSION_LABEL"
local subgraphName="protocol-$DEPLOYMENT_ENV-$goldskyNetwork/1.0.0"

$GRAPH_CLI build
# Note: when using Graph CLI to deploy, it implicitly triggers build too, but Goldsky CLI doesn't.
Expand Down

0 comments on commit de261ff

Please sign in to comment.