From 7817b6a9cea47f70a9fff2012534c8de3c677aaa Mon Sep 17 00:00:00 2001 From: AshkanArabim Date: Thu, 15 Aug 2024 21:03:01 -0600 Subject: [PATCH] fix custom domain resetting issue --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 55c0c17..062d0ee 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,8 @@ "serve": "gatsby serve", "clean": "gatsby clean", "typecheck": "tsc --noEmit", - "deploy": "gatsby build && gh-pages -d public" + "add-domain": "echo \"blog.ashkan.zone\" > public/CNAME", + "deploy": "gatsby build && npm run add-domain && gh-pages -d public" }, "dependencies": { "gatsby": "^5.13.5",