Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Endless loop #55

Closed
arthabus opened this issue May 7, 2018 · 1 comment
Closed

Endless loop #55

arthabus opened this issue May 7, 2018 · 1 comment

Comments

@arthabus
Copy link

arthabus commented May 7, 2018

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...

@arthabus arthabus closed this as completed May 7, 2018
@arthabus
Copy link
Author

arthabus commented May 7, 2018

My bad, it was calling from several places. Removed redundant calls and everything works as expected now. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant