mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +00:00
attempt to fix deploy
This commit is contained in:
parent
3626c43a3d
commit
84291524dc
1 changed files with 2 additions and 2 deletions
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
|
@ -119,11 +119,11 @@ jobs:
|
||||||
|
|
||||||
- name: Write tags to tags.tfvars.auto.json
|
- name: Write tags to tags.tfvars.auto.json
|
||||||
run: |
|
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
|
- name: Write TF_DATA_${{github.event.inputs.environment}} to actions.tfvars.auto.json
|
||||||
run: |
|
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:
|
env:
|
||||||
TF_DATA: ${{ secrets[format('TF_DATA_{0}', github.event.inputs.environment)] }}
|
TF_DATA: ${{ secrets[format('TF_DATA_{0}', github.event.inputs.environment)] }}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue