diff --git a/content/hosting-and-deployment/hosting-on-firebase.md b/content/hosting-and-deployment/hosting-on-firebase.md index f717961b2..3c1690a66 100644 --- a/content/hosting-and-deployment/hosting-on-firebase.md +++ b/content/hosting-and-deployment/hosting-on-firebase.md @@ -23,22 +23,22 @@ aliases: [] Go to the [Firebase console][console] and create a new project (unless you already have a project). You will need to globally install `firebase-tools` (node.js): + ```sh npm install -g firebase-tools ``` Log in to Firebase (setup on your local machine) using `firebase login`, which opens a browser where you can select your account. Use `firebase logout` in case you are already logged in but to the wrong account. + ```sh firebase login ``` - In the root of your Hugo project, initialize the Firebase project with the `firebase init` command: ```sh firebase init ``` - From here: 1. Choose Hosting in the feature question @@ -59,6 +59,7 @@ hugo && firebase deploy You can generate a deploy token using + ```sh firebase login:ci ``` @@ -82,4 +83,4 @@ firebase deploy --token $FIREBASE_DEPLOY_TOKEN [console]: https://console.firebase.google.com [Quick Start]: /getting-started/quick-start/ [signup]: https://console.firebase.google.com/ -[Wercker]: /hosting-and-deployment/deployment-with-wercker/ \ No newline at end of file +[Wercker]: /hosting-and-deployment/deployment-with-wercker/