add ethereum deploy tags

This commit is contained in:
Barry Gitarts 2021-04-12 14:58:49 -04:00
parent 432ae0667e
commit 6a7802cda1
2 changed files with 3 additions and 2 deletions

View File

@ -61,4 +61,5 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
sntEthereum.address
);
};
func.tags = ["ethereum"];
export default func;

View File

@ -31,8 +31,8 @@
"test": "npx hardhat test",
"node": "npx hardhat node --watch",
"frontend": "cd frontend && npm run start",
"deploy:goerli": "hardhat deploy --network goerli --deploy-scripts deploy/Bridge.ts",
"deploy:fuji": "hardhat deploy --network fuji --tags avalanche",
"deploy:goerli": "hardhat deploy --network goerli --tags ethereum --deploy-scripts deploy",
"deploy:fuji": "hardhat deploy --network fuji --tags avalanche --deploy-scripts deploy",
"deploy:fuji:reset": "hardhat deploy --network fuji --tags avalanche --reset",
"deploy:stavalanche": "hardhat deploy --network stavalanche --tags avalanche"
},