Skip to content

Commit

Permalink
Merge pull request #77 from Secured-Finance/SF-985-deployment-bug
Browse files Browse the repository at this point in the history
fix: fix the deployment bug [SF-985]
  • Loading branch information
biga816 authored Jan 9, 2024
2 parents c892c65 + 20f79ac commit 96b9d75
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-graph.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
run: |
npm run auth ${{secrets.GRAPH_ACCESS_TOKEN}}
npm run update-subgraphrc ${{needs.identify-env.outputs.environment}}
version=$(cat deployment.json | jq -r .${{needs.identify-env.outputs.environment}}.version | tr -d '"')
version=$(cat deployment.json | jq -r '."${{needs.identify-env.outputs.environment}}".version' | tr -d '"')
npm run generate ${{needs.identify-env.outputs.environment}}
npm run deploy:${{needs.identify-env.outputs.environment}} ${version}
- name: Commit and push
Expand Down
16 changes: 8 additions & 8 deletions deployment.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
"version": "0.0.45"
},
"development-arb": {
"version": "0.0.1",
"isMajorUpdate": false,
"isMinorUpdate": false
"isMinorUpdate": false,
"version": "0.0.1"
},
"staging": {
"isMajorUpdate": false,
"isMinorUpdate": false,
"version": "0.0.12"
},
"staging-arb": {
"version": "0.0.1",
"isMajorUpdate": false,
"isMinorUpdate": false
"isMinorUpdate": false,
"version": "0.0.1"
},
"sepolia": {
"isMajorUpdate": false,
Expand All @@ -30,13 +30,13 @@
"version": "0.0.2"
},
"arbitrum-sepolia": {
"version": "0.0.0",
"isMajorUpdate": false,
"isMinorUpdate": false
"isMinorUpdate": false,
"version": "0.0.0"
},
"arbitrum-one": {
"version": "0.0.0",
"isMajorUpdate": false,
"isMinorUpdate": false
"isMinorUpdate": false,
"version": "0.0.0"
}
}
2 changes: 1 addition & 1 deletion scripts/update-subgraphrc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ const arrowedNetworks = [
type Network = (typeof arrowedNetworks)[number];

const EMPTY_DEPLOYMENT = {
version: '0.0.0',
isMajorUpdate: false,
isMinorUpdate: false,
version: '0.0.0',
};

class Main {
Expand Down

0 comments on commit 96b9d75

Please sign in to comment.