feat: env for access token
This commit is contained in:
parent
d4b1ecbcb1
commit
93d9875e66
2
.env.example
Normal file
2
.env.example
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
# access token
|
||||||
|
# 23457f58696f04444d2376ed2cfs441xc
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -63,6 +63,7 @@ typings/
|
|||||||
build
|
build
|
||||||
.vscode
|
.vscode
|
||||||
.idea
|
.idea
|
||||||
|
.env
|
||||||
|
|
||||||
generated
|
generated
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"codegen:tornado": "yarn yaml:tornado && yarn codegen -- subgraphs/tornado-subgraph.yaml",
|
"codegen:tornado": "yarn yaml:tornado && yarn codegen -- subgraphs/tornado-subgraph.yaml",
|
||||||
"build": "graph build",
|
"build": "graph build",
|
||||||
"build:tornado": "graph build subgraphs/tornado-subgraph.yaml",
|
"build:tornado": "graph build subgraphs/tornado-subgraph.yaml",
|
||||||
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ tornadocash/bsc-tornado-subgraph",
|
"deploy": "graph deploy --node https://api.thegraph.com/deploy/ --ipfs https://api.thegraph.com/ipfs/ $(echo $(cat .env))",
|
||||||
"deploy:tornado": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph.yaml"
|
"deploy:tornado": "yarn deploy -- tornadocash/bsc-tornado-subgraph subgraphs/tornado-subgraph.yaml"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
Loading…
Reference in New Issue
Block a user