Skip to content

Commit

Permalink
Move the staging.zemn.me site into project/zemn.me
Browse files Browse the repository at this point in the history
  • Loading branch information
Zemnmez committed May 30, 2023
1 parent 8f49565 commit fa7839b
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ load("//ts/next.js:rules.bzl", "next_project")
package(default_visibility = ["//visibility:public"])

ts_project(
name = "public",
name = "ts",
assets = glob(["**/*.css"]),
deps = [
"//:node_modules/@types/react",
Expand All @@ -16,6 +16,6 @@ ts_project(
)

next_project(
name = "public_next",
srcs = [":public"],
name = "next",
srcs = [":ts"],
)
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion ts/pulumi/me/zemn/staging/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ package(default_visibility = ["//visibility:public"])
ts_project(
name = "staging",
assets = glob(["**/*.css"]),
data = ["//ts/pulumi/me/zemn/staging/public:public_next"],
data = ["//project/zemn.me/next"],
deps = [
"//:node_modules/@pulumi/aws",
"//:node_modules/@pulumi/aws-static-website",
Expand Down
6 changes: 3 additions & 3 deletions ts/pulumi/me/zemn/staging/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,12 @@ export const arn = validation.certificateArn;
export const site = new staticwebsite.Website('staging.zemn.me', {
withCDN: true,
indexHTML: new asset.FileAsset(
'ts/pulumi/me/zemn/staging/public/out/index.html'
'project/zemn.me/next/out/index.html'
).path,
error404: new asset.FileAsset(
'ts/pulumi/me/zemn/staging/public/out/404.html'
'project/zemn.me/next/out/404.html'
).path,
sitePath: 'ts/pulumi/me/zemn/staging/public/out',
sitePath: 'project/zemn.me/next/out',
targetDomain: 'staging.zemn.me',
certificateARN: arn,
});

0 comments on commit fa7839b

Please sign in to comment.