From 84291524dc9a15b2f3fd70c94bf15fd6c0f92919 Mon Sep 17 00:00:00 2001 From: Katalina Okano Date: Sun, 6 Dec 2020 21:30:45 -0500 Subject: [PATCH] attempt to fix deploy --- .github/workflows/deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a731bd7..0888bb6 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -119,11 +119,11 @@ jobs: - name: Write tags to tags.tfvars.auto.json run: | - echo '{"ui_tag": "${{needs.docker_sync.outputs.ui_tag}}", "bot_tag": "${{needs.docker_sync.outputs.bot_tag}}", "worker_path": "./worker-dist/backend-worker.js"}' | jq | tee tags.tfvars.auto.json + echo '{"ui_tag": "${{needs.docker_sync.outputs.ui_tag}}", "bot_tag": "${{needs.docker_sync.outputs.bot_tag}}", "worker_path": "./worker-dist/backend-worker.js"}' | jq . | tee tags.tfvars.auto.json - name: Write TF_DATA_${{github.event.inputs.environment}} to actions.tfvars.auto.json run: | - sh -c 'echo '$TF_DATA' | jq > actions.tfvars.auto.json' >/dev/null 2>&1 + sh -c 'echo \'$TF_DATA\' > actions.tfvars.auto.json' env: TF_DATA: ${{ secrets[format('TF_DATA_{0}', github.event.inputs.environment)] }}