| 1 | # This file contains all of the websites that we host using Netlify. |
| 2 | |
| 3 | resource "netlify_deploy_key" "key" {} |
| 4 | |
| 5 | resource "netlify_site" "nix-dev" { |
| 6 | name = "nix-dev" |
| 7 | custom_domain = "nix.dev" |
| 8 | |
| 9 | repo { |
| 10 | provider = "github" |
| 11 | repo_path = "NixOS/nix.dev" |
| 12 | repo_branch = "master" |
| 13 | } |
| 14 | } |
| 15 | |
| 16 | resource "netlify_site" "nixos-common-styles" { |
| 17 | name = "nixos-common-styles" |
| 18 | custom_domain = "common-styles.nixos.org" |
| 19 | |
| 20 | repo { |
| 21 | provider = "github" |
| 22 | repo_path = "NixOS/nixos-common-styles" |
| 23 | repo_branch = "main" |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | resource "netlify_site" "nixos-status" { |
| 28 | name = "nixos-status" |
| 29 | custom_domain = "status.nixos.org" |
| 30 | |
| 31 | repo { |
| 32 | provider = "github" |
| 33 | repo_path = "NixOS/nixos-status" |
| 34 | repo_branch = "main" |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | resource "netlify_site" "nixos-planet" { |
| 39 | name = "nixos-planet" |
| 40 | custom_domain = "planet.nixos.org" |
| 41 | |
| 42 | repo { |
| 43 | provider = "github" |
| 44 | repo_path = "NixOS/nixos-planet" |
| 45 | repo_branch = "master" |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | resource "netlify_site" "nixos-search" { |
| 50 | name = "nixos-search" |
| 51 | custom_domain = "search.nixos.org" |
| 52 | |
| 53 | repo { |
| 54 | provider = "github" |
| 55 | repo_path = "NixOS/nixos-search" |
| 56 | repo_branch = "master" |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | resource "netlify_site" "nixos-homepage" { |
| 61 | name = "nixos-homepage" |
| 62 | custom_domain = "nixos.org" |
| 63 | |
| 64 | repo { |
| 65 | deploy_key_id = netlify_deploy_key.key.id |
| 66 | provider = "github" |
| 67 | repo_path = "NixOS/nixos-homepage" |
| 68 | repo_branch = "master" |
| 69 | } |
| 70 | } |