mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-04-25 03:49:11 +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
|
- name: Write *.auto.tfvars.json files
|
||||||
working-directory: ./terraform
|
working-directory: ./terraform
|
||||||
run: |
|
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
|
echo ${SECRET_TFVARS} > secrets.auto.tfvars.json
|
||||||
env:
|
env:
|
||||||
SECRET_TFVARS: ${{ steps.secrets.outputs.secretJSON }}
|
SECRET_TFVARS: ${{ steps.secrets.outputs.secretJSON }}
|
||||||
|
|
|
@ -43,7 +43,7 @@ variable "api_public_uri" {
|
||||||
variable "api_path_to_worker" {
|
variable "api_path_to_worker" {
|
||||||
type = string
|
type = string
|
||||||
description = "Path to worker JS, relative to this file/terraform folder."
|
description = "Path to worker JS, relative to this file/terraform folder."
|
||||||
default = "../worker/script.js"
|
default = "worker-dist/backend-worker.js"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "root_users" {
|
variable "root_users" {
|
||||||
|
|
Loading…
Add table
Reference in a new issue