From b92d9cd7dd790b1396c0c46977e71cecf90e0912 Mon Sep 17 00:00:00 2001 From: David Boreham Date: Sun, 29 Oct 2023 23:16:39 -0600 Subject: [PATCH] Update stack README.md to use config directive --- app/data/stacks/act-runner/README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/data/stacks/act-runner/README.md b/app/data/stacks/act-runner/README.md index e623a9c6..3c6dd7b1 100644 --- a/app/data/stacks/act-runner/README.md +++ b/app/data/stacks/act-runner/README.md @@ -3,13 +3,11 @@ ## Example ``` -$ laconic-so --stack act-runner deploy init --output act-runner.yml - -$ laconic-so --stack act-runner deploy create --spec-file act-runner.yml --deployment-dir ~/opt/deployments/act-runner-1 -$ echo "CERC_GITEA_RUNNER_REGISTRATION_TOKEN=FOO" >> ~/opt/deployments/act-runner-1/config.env +$ laconic-so --stack act-runner deploy init --output act-runner-1.yml --config CERC_GITEA_RUNNER_REGISTRATION_TOKEN=FOO +$ laconic-so --stack act-runner deploy create --spec-file act-runner-1.yml --deployment-dir ~/opt/deployments/act-runner-1 $ laconic-so deployment --dir ~/opt/deployments/act-runner-1 up -$ laconic-so --stack act-runner deploy create --spec-file act-runner.yml --deployment-dir ~/opt/deployments/act-runner-2 -$ echo "CERC_GITEA_RUNNER_REGISTRATION_TOKEN=BAR" >> ~/opt/deployments/act-runner-2/config.env +$ laconic-so --stack act-runner deploy init --output act-runner-2.yml --config CERC_GITEA_RUNNER_REGISTRATION_TOKEN=BAR +$ laconic-so --stack act-runner deploy create --spec-file act-runner-2.yml --deployment-dir ~/opt/deployments/act-runner-2 $ laconic-so deployment --dir ~/opt/deployments/act-runner-2 up ```