Skip to content

Commit

Permalink
update firebase hosting
Browse files Browse the repository at this point in the history
  • Loading branch information
aayushkh committed Dec 21, 2023
1 parent d8ef1c2 commit e6e8eea
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 8 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install && npm run build
- uses: actions/checkout@v3
- run: npm ci && npm run build
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_30_WHATS_NEAR_ME_D2E34 }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_30_WHATS_NEAR_ME }}'
channelId: live
projectId: tcl-30-whats-near-me-d2e34
projectId: tcl-30-whats-near-me
10 changes: 6 additions & 4 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,12 @@ jobs:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: npm install && npm run build
- uses: actions/checkout@v3
- run: npm ci && npm run build
with:
node-version-file: '.nvmrc'
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_30_WHATS_NEAR_ME_D2E34 }}'
projectId: tcl-30-whats-near-me-d2e34
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_TCL_30_WHATS_NEAR_ME }}'
projectId: tcl-30-whats-near-me
19 changes: 19 additions & 0 deletions .github/workflows/update-deps.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: update-deps
on: create
jobs:
npm-update:
if: github.ref == 'refs/heads/main'
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: '.nvmrc'
- run: npm update --dev
- run: git rm -r --cached .github
- run: rm -rf .github/
- uses: EndBug/add-and-commit@latest
with:
add: '.'
message: 'Update dependencies with "npm update"'
push: true
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v16.13.0

0 comments on commit e6e8eea

Please sign in to comment.