hexo-deployer-tcb

TCB deployer plugin for Hexo

Usage no npm install needed!

<script type="module">
  import hexoDeployerTcb from 'https://cdn.skypack.dev/hexo-deployer-tcb';
</script>

README

hexo-deployer-tcb

TCB deployer plugin for Hexo

Tencent CloudBase Website Hosting

Install

$ npm install hexo-deployer-tcb --save

Options

You can configure this plugin in _config.yml.

# You can use this:
deploy:
  type: tcb
  secretId: < # your envId >
  secretKey: < # your secretKey >
  envId: < # your envId >


# Example:
deploy:
  type: tcb
  secretId: AKIDy72vb123isqCRhYSzqzdw3XGF9XY2oAu
  secretKey: iz47dbHBCJwSHIRQQNyerK1pDmaGslKZ
  envId: blog-1b08ba

You can get the SecretId, SecretKey on your Tencent Cloud Console.

  • secretId: specify a SecretId
  • secretKey: specify a SecretKey
  • envId: specify a Environment ID,You can find it in your TCB console environment settings.

Usage

Deploy to TCB after generation:

$ hexo d -g

## or this

$ hexo deploy --generate

You can get it from here.Tencent Cloud Console

image.png

image.png

Help

License

MIT