From 0c844624dd37b9ddff81229cd529f89dba48a4a7 Mon Sep 17 00:00:00 2001 From: "Muhammad Ovi (Owais)" Date: Wed, 14 Aug 2024 21:19:20 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A5=20Setup=20Firebase=20(bump=20v0.1.?= =?UTF-8?q?2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .firebaserc | 5 +++++ .github/workflows/depoy-frontend.yml | 23 +++++++++++++++++++++++ CNAME | 1 - app.html | 2 +- firebase.json | 10 ++++++++++ index.html | 2 +- manifest.json | 2 +- sw.js | 2 +- 8 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 .firebaserc create mode 100644 .github/workflows/depoy-frontend.yml delete mode 100644 CNAME create mode 100644 firebase.json diff --git a/.firebaserc b/.firebaserc new file mode 100644 index 0000000..131f5a7 --- /dev/null +++ b/.firebaserc @@ -0,0 +1,5 @@ +{ + "projects": { + "default": "whatsnewchat-com" + } +} diff --git a/.github/workflows/depoy-frontend.yml b/.github/workflows/depoy-frontend.yml new file mode 100644 index 0000000..27771d1 --- /dev/null +++ b/.github/workflows/depoy-frontend.yml @@ -0,0 +1,23 @@ +name: 🔥 Firebase Continuous Deployment + +on: + push: + branches: [master] + paths: + - '**/**' + +jobs: + deploy: + name: Deploy (frontend) + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + node-version: 20.11.0 + - name: Deploy to Firebase + uses: w9jds/firebase-action@master + with: + args: deploy + env: + FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} diff --git a/CNAME b/CNAME deleted file mode 100644 index 2b56820..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -whatsnewchat.com \ No newline at end of file diff --git a/app.html b/app.html index 57bca6f..85a77cb 100644 --- a/app.html +++ b/app.html @@ -105,7 +105,7 @@

Recent Chats

This tool is NOT from WhatsApp - WhatsNewChat v0.1.1 (Beta) + WhatsNewChat v0.1.2 (Beta)