Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions examples/production/.algokit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,18 @@ artifacts = 'smart_contracts/artifacts'

[project.deploy]
command = "npm run deploy:ci"

[project.deploy.testnet]
environment_secrets = [
"DEPLOYER_MNEMONIC",
"DISPENSER_MNEMONIC",
]

[project.deploy.localnet]
environment_secrets = []
[project.deploy.mainnet]
environment_secrets = [
"DEPLOYER_MNEMONIC",
"DISPENSER_MNEMONIC",
]

[project.run]
# Commands intended for use locally and in CI
Expand Down
8 changes: 6 additions & 2 deletions examples/starter/.algokit.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,16 @@ artifacts = 'smart_contracts/artifacts'

[project.deploy]
command = "npm run deploy:ci"

[project.deploy.testnet]
environment_secrets = [
"DEPLOYER_MNEMONIC",
]

[project.deploy.localnet]
environment_secrets = []
[project.deploy.mainnet]
environment_secrets = [
"DEPLOYER_MNEMONIC",
]

[project.run]
# Commands intended for use locally and in CI
Expand Down
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 9 additions & 2 deletions template_content/.algokit.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,22 @@ artifacts = 'smart_contracts/artifacts'

[project.deploy]
command = "npm run deploy:ci"

[project.deploy.testnet]
environment_secrets = [
"DEPLOYER_MNEMONIC",
{%- if use_dispenser %}
"DISPENSER_MNEMONIC",
{%- endif %}
]

[project.deploy.localnet]
environment_secrets = []
[project.deploy.mainnet]
environment_secrets = [
"DEPLOYER_MNEMONIC",
{%- if use_dispenser %}
"DISPENSER_MNEMONIC",
{%- endif %}
]

[project.run]
# Commands intended for use locally and in CI
Expand Down