-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Description
[REQUIRED] Environment info
firebase-tools: 13.32.0
Platform: Ubuntu
[REQUIRED] Test case
I've built a website with Next js 13.5.4, and using Github Action to deploy the application whenever making a PR or deploying to the staging and production.
I'm using the FirebaseExtended/action-hosting-deploy@v0 for Github Action deployment.
I found Firebase shows a 404
page after I triggered the deployment 2 days ago after the firebase-tools published the latest version (13.32.0).
After digging into the problem, I found the deployment time was much shorter than before after the lastest version was published. It cost around 7 minutes to deploy the firebase preview channel but now it only takes 33 seconds.
404 page from firebase hosting
[REQUIRED] Steps to reproduce
Example of the Github action file
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools
name: PR - Deploy to Firebase Hosting on PR
'on': pull_request
env:
WEB_APPLICATION_ENV: development
jobs:
build_and_preview:
if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build:dev
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.ABC }}'
projectId: 123
target: 123
env:
FIREBASE_CLI_EXPERIMENTS: webframeworks
[REQUIRED] Expected behavior
We can deploy the project to the firebase hosting.
[REQUIRED] Actual behavior
WieFel0xApplePieleoortizz, chalosalvador, WieFel and hung-convergent