Closed arthabus closed 6 years ago
I'm trying to automate deploying of my firebase project and when executing the below command it keep deploying over and over again:
gulp.task('deploy_external', function () { return run('firebase deploy --only hosting', {cwd:"../FirebaseFunctions", verbosity:3}).exec(); });
Am I doing something wrong here?
Console output:
[19:27:34] Starting 'copy_external'... $ firebase deploy --only hosting <-- this is the first execution
=== Deploying to 'projet-name'...
i deploying hosting i hosting: preparing public directory for upload... ⚠ Warning: Public directory does not contain index.html
i Progress: [...................................................................................................]
✔ hosting: 54 files uploaded successfully
✔ Deploy complete!
Project Console: https://console.firebase.google.com/project/project-name/overview Hosting URL: https://project-name.firebaseapp.com $ firebase deploy --only hosting <-- this is the second unexpected execution which starts immediately after the first one completes
=== Deploying to 'project-name'...
And so on...
My bad, it was calling from several places. Removed redundant calls and everything works as expected now. Thanks!
I'm trying to automate deploying of my firebase project and when executing the below command it keep deploying over and over again:
gulp.task('deploy_external', function () { return run('firebase deploy --only hosting', {cwd:"../FirebaseFunctions", verbosity:3}).exec(); });
Am I doing something wrong here?
Console output:
[19:27:34] Starting 'copy_external'... $ firebase deploy --only hosting <-- this is the first execution
=== Deploying to 'projet-name'...
i deploying hosting i hosting: preparing public directory for upload... ⚠ Warning: Public directory does not contain index.html
i Progress: [...................................................................................................]
✔ hosting: 54 files uploaded successfully
✔ Deploy complete!
Project Console: https://console.firebase.google.com/project/project-name/overview Hosting URL: https://project-name.firebaseapp.com $ firebase deploy --only hosting <-- this is the second unexpected execution which starts immediately after the first one completes
=== Deploying to 'project-name'...
i deploying hosting i hosting: preparing public directory for upload... ⚠ Warning: Public directory does not contain index.html
And so on...