Google Firebase Deployer for Hexo.
简体中文版教程:https://blog.pai233.top/20220208/how-to-deploy-your-hexo-blog-on-firebase/
npm i hexo-deployer-firebase --save
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!
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.
Just run hexo d
in your terminal.
If you are using this plugin in mainland China, you may need to set a proxy server.
MIT