mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
[CLOUDFLARE PAGES] Import inskip.me into terraform
This commit is contained in:
parent
8b0bec9d83
commit
7cd1c47727
1 changed files with 28 additions and 0 deletions
28
cloudflare-inskip-pages.tf
Normal file
28
cloudflare-inskip-pages.tf
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
resource "cloudflare_pages_project" "inskip_root" {
|
||||
account_id = "0467b993b65d8fd4a53fe24ed2fbb2a1"
|
||||
name = "inskip-root"
|
||||
production_branch = "main"
|
||||
|
||||
source {
|
||||
type = "github"
|
||||
config {
|
||||
owner = "kittywitch"
|
||||
repo_name = "inskip.me"
|
||||
production_branch = "main"
|
||||
deployments_enabled = true
|
||||
pr_comments_enabled = false
|
||||
production_deployment_enabled = true
|
||||
}
|
||||
}
|
||||
build_config {
|
||||
build_command = "hugo"
|
||||
destination_dir = "/public"
|
||||
root_dir = "/"
|
||||
}
|
||||
}
|
||||
|
||||
resource "cloudflare_pages_domain" "inskip_root" {
|
||||
account_id = "0467b993b65d8fd4a53fe24ed2fbb2a1"
|
||||
project_name = "inskip-root"
|
||||
domain = "inskip.me"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue