Skip to content

Commit

Permalink
🔥 Setup Firebase (bump v0.1.2)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ovi committed Aug 14, 2024
1 parent be1a26d commit 0c84462
Show file tree
Hide file tree
Showing 8 changed files with 42 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "whatsnewchat-com"
}
}
23 changes: 23 additions & 0 deletions .github/workflows/depoy-frontend.yml
Original file line number Diff line number Diff line change
@@ -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 }}
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

2 changes: 1 addition & 1 deletion app.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ <h1 class="title">Recent Chats</h1>
</div>

<span class="caution unselectable">This tool is NOT from WhatsApp</span>
<span class="app-version unselectable">WhatsNewChat v0.1.1 (Beta)</span>
<span class="app-version unselectable">WhatsNewChat v0.1.2 (Beta)</span>
</main>

<script>
Expand Down
10 changes: 10 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "./",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="mb-1">Start WhatsApp Chat Without Saving Phone Number</h1>
</form>

<span class="caution unselectable">This tool is NOT from WhatsApp</span>
<span class="app-version unselectable">WhatsNewChat v0.1.1 (Beta)</span>
<span class="app-version unselectable">WhatsNewChat v0.1.2 (Beta)</span>

<button id="installApp">Install on this device</button>
<a href="./app.html" style="display: none">App</a>
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"short_name": "WhatsNewChat",
"name": "WhatsNewChat",
"version": "0.1.1",
"version": "0.1.2",
"description": "WhatsNewChat - Start Chat Without Saving Number",
"author": "Muhammad Ovi",
"github": "https://github/Ovi",
Expand Down
2 changes: 1 addition & 1 deletion sw.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

// Static Files as version
const staticCacheVersion = 'v0.1.1';
const staticCacheVersion = 'v0.1.2';

// Files to cache
const files = [
Expand Down

0 comments on commit 0c84462

Please sign in to comment.