Skip to content

pai233/hexo-deployer-firebase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-deployer-firebase

Google Firebase Deployer for Hexo.

简体中文版教程:https://blog.pai233.top/20220208/how-to-deploy-your-hexo-blog-on-firebase/

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

About

Google Firebase Deployer for Hexo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published