Skip to content

Commit

Permalink
prod: changing firebase project to official gdsc
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmay4u02 committed Feb 6, 2024
1 parent cd7d398 commit 9b57987
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
# env:
# CI: false
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Live Channel
env:
CI: false

on:
name: Deploy to Firebase Hosting on merge
"on":
push:
branches:
- master

jobs:
deploy_live_website:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm ci && npm run build
# - run: npm i && npm run build
- uses: actions/checkout@v4
- run: npm i && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GDSC_TCOER }}"
projectId: dsc-tcoer-pune
channelId: live
projectId: gdsc-tcoer
7 changes: 3 additions & 4 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ jobs:
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- run: npm i && npm run build
# - run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_DSC_TCOER_PUNE }}"
projectId: dsc-tcoer-pune
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_GDSC_TCOER }}"
projectId: gdsc-tcoer
8 changes: 4 additions & 4 deletions firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
{
"source": "**",
"destination": "/index.html"
}
]
}
}

0 comments on commit 9b57987

Please sign in to comment.