Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
fix: Fix typo when executing deploy action (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-makerx authored Apr 21, 2023
1 parent e910fa0 commit 98ee955
Show file tree
Hide file tree
Showing 17 changed files with 16 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/check-python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ jobs:
git add -N ./tests_generated
# Look for changes in generated templates and error if there are any
git diff --exit-code --minimal ./tests_generated
working-directory: ${{ inputs.working-directory }}
2 changes: 1 addition & 1 deletion template_content/smart_contracts/__main__.py.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def main(action: str) -> None:
{%- if deployment_language == 'python' %}
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def main(action: str) -> None:
build(artifact_path / app.name, app)
case "deploy":
for app in config.contracts:
logger.info(f"Building app {app.name}")
logger.info(f"Deploying app {app.name}")
app_spec_path = artifact_path / app.name / "application.json"
deploy(app_spec_path, config.deploy)
case "all":
Expand Down

0 comments on commit 98ee955

Please sign in to comment.