hexo-deployer-firebase
v1.0.5
Published
Google Firebase Deployer for hexo.
Downloads
3
Readme
hexo-deployer-firebase
Google Firebase Deployer for Hexo.
Usage
Installation
npm i hexo-deployer-firebase --save
Initialize Your Project
Go to Firebase Console and add a project.
Then, install Firebase CLI by your favorite ways.
Finally, Login to your Firebase CLI. Run this command in your terminal.
firebase login
If you don't have the access to localhost
, run this command below:
firebase login --no-localhost
Now you can configure this plugin!
Options
You can configure this plugin in Hexo's _config.yml
:
deploy:
- type: firebase
id: <Your project's unique identifier>
The identifier usually at your project's name below. For an example:
pai233-blog
is this project's identifier.
Deploy
Just run hexo d
in your terminal.
If you are using this plugin in mainland China, you may need to set a proxy server.
LICENSE
MIT