Skip to content

Commit 5b4a215

Browse files
authored
Add workflow artifact default paths (#77)
1 parent c40a565 commit 5b4a215

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

internal/settings/settings_generate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ func GetDefaultReplacements() map[string]string {
4848
"ProductionDonFamily": constants.DefaultProductionDonFamily,
4949

5050
"WorkflowOwnerAddress": "(optional) Multi-signature contract address",
51+
"ConfigPath": "./config.json",
52+
"SecretsPath": "../secrets.yaml",
5153
}
5254
}
5355

internal/settings/template/workflow.yaml.tpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ local-simulation:
2020
workflow-name: "{{WorkflowName}}"
2121
workflow-artifacts:
2222
workflow-path: "{{WorkflowPath}}"
23-
config-path: ""
24-
secrets-path: ""
23+
config-path: "{{ConfigPath}}"
24+
secrets-path: "{{SecretsPath}}"
2525

2626
# ==========================================================================
2727
production-testnet:
2828
user-workflow:
2929
workflow-name: "{{WorkflowName}}"
3030
workflow-artifacts:
3131
workflow-path: "{{WorkflowPath}}"
32-
config-path: ""
33-
secrets-path: ""
32+
config-path: "{{ConfigPath}}"
33+
secrets-path: "{{SecretsPath}}"
3434

0 commit comments

Comments
 (0)