From 92ec2becb4b43da82b75769409fb4622652f7719 Mon Sep 17 00:00:00 2001 From: Dhvani Patel Date: Wed, 1 May 2024 12:42:41 +0100 Subject: [PATCH] deploy --- packages/nextjs/.firebaserc | 5 +++++ packages/nextjs/firebase.json | 10 ++++++++++ packages/nextjs/package.json | 3 ++- 3 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 packages/nextjs/.firebaserc create mode 100644 packages/nextjs/firebase.json diff --git a/packages/nextjs/.firebaserc b/packages/nextjs/.firebaserc new file mode 100644 index 00000000..7f13c06a --- /dev/null +++ b/packages/nextjs/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "biomes-build-for-drops" + } +} diff --git a/packages/nextjs/firebase.json b/packages/nextjs/firebase.json new file mode 100644 index 00000000..c5c52092 --- /dev/null +++ b/packages/nextjs/firebase.json @@ -0,0 +1,10 @@ +{ + "hosting": { + "public": "out", + "ignore": [ + "firebase.json", + "**/.*", + "**/node_modules/**" + ] + } +} diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 3e8833eb..d266beba 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -11,7 +11,8 @@ "format": "prettier --write . '!(node_modules|.next|contracts)/**/*'", "check-types": "tsc --noEmit --incremental", "vercel": "vercel", - "vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true" + "vercel:yolo": "vercel --build-env NEXT_PUBLIC_IGNORE_BUILD_ERROR=true", + "deploy": "NEXT_PUBLIC_IGNORE_BUILD_ERROR=true yarn run build && firebase use biomes-build-for-drops && firebase deploy" }, "dependencies": { "@biomesaw/utils": "0.0.8",