mirror of
https://github.com/immich-app/immich.git
synced 2025-07-19 22:44:24 +02:00
feat(ci): website deployment IaC and github actions (#9857)
* feat(ci): Docs build workflow * chore(ci): Remove docs from test workflow * feat(ci): Docs deployment workflow * fix: ) * fix(ci): Docs build artifact upload path * fix(ci): Small fixes, logging * fix: Parse parameters * feat(ci): Download docs artifact * feat(ci): Comment docs preview url on PR * fix(ci): Download artifacts through github-script * chore(ci): Add TODO * nit: Tweak log message * feat: website deployment iac and github actions --------- Co-authored-by: bo0tzz <git@bo0tzz.me>
This commit is contained in:
parent
12cf116798
commit
30e18aba69
20 changed files with 467 additions and 22 deletions
deployment/modules/cloudflare/docs
24
deployment/modules/cloudflare/docs/terragrunt.hcl
Normal file
24
deployment/modules/cloudflare/docs/terragrunt.hcl
Normal file
|
@ -0,0 +1,24 @@
|
|||
terraform {
|
||||
source = "."
|
||||
|
||||
extra_arguments custom_vars {
|
||||
commands = get_terraform_commands_that_need_vars()
|
||||
}
|
||||
}
|
||||
|
||||
include {
|
||||
path = find_in_parent_folders("state.hcl")
|
||||
}
|
||||
|
||||
locals {
|
||||
prefix_name = get_env("TF_VAR_prefix_name")
|
||||
}
|
||||
|
||||
remote_state {
|
||||
backend = "pg"
|
||||
|
||||
config = {
|
||||
conn_str = get_env("TF_STATE_POSTGRES_CONN_STR")
|
||||
schema_name = "prod_cloudflare_immich_app_docs_${local.prefix_name}"
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue