mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
fix tags.tfvars pathname
This commit is contained in:
parent
0e69066aad
commit
6ed7bda678
2 changed files with 6 additions and 2 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
@ -129,7 +129,11 @@ jobs:
|
|||
- name: Write *.auto.tfvars.json files
|
||||
working-directory: ./terraform
|
||||
run: |
|
||||
echo '{"ui_tag": "${{needs.docker_sync.outputs.ui_tag}}", "bot_tag": "${{needs.docker_sync.outputs.bot_tag}}", "api_path_to_worker": "./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}}", "api_path_to_worker": "./worker-dist/backend-worker.js"}' \
|
||||
| jq . \
|
||||
| tee tags.auto.tfvars.json
|
||||
|
||||
echo ${SECRET_TFVARS} > secrets.auto.tfvars.json
|
||||
env:
|
||||
SECRET_TFVARS: ${{ steps.secrets.outputs.secretJSON }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue