Skip to content

Commit

Permalink
change goldsky version label
Browse files Browse the repository at this point in the history
  • Loading branch information
mmd-afegbua committed Jun 5, 2024
1 parent 8abe243 commit 43d7ebe
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/call.deploy-subgraph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
inputs:
vendor:
required: true
description: "Where to deploy subgraph to; superfluid, graph, satsuma, goldsky or airstack"
description: "Where to deploy subgraph to; superfluid, graph, goldsky or airstack"
type: string
deployment_env:
required: true
Expand Down
18 changes: 14 additions & 4 deletions .github/workflows/handler.deploy-production-subgraphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,23 @@ on:
inputs:
vendor:
required: true
description: "Where to deploy subgraph to; one of `superfluid`, `graph`, `satsuma` or `goldsky`"
type: string
description: "Where to deploy subgraph to; one of `superfluid`, `graph`, `goldsky` or `airstack`"
default: "superfluid"
type: choice
options:
- superfluid
- graph
- goldsky
- airstack
deployment_env:
required: true
type: string
default: v1
description: 'The subgraph deployment env: v1, dev, feature.'
type: choice
default: v1
options:
- v1
- dev
- feature
network:
required: true
type: string
Expand Down
2 changes: 1 addition & 1 deletion packages/subgraph/tasks/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -132,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 43d7ebe

Please sign in to comment.