部署器可帮助用户快速将其站点部署到远程服务器,而无需复杂的命令。
¥A deployer helps users quickly deploy their site to a remote server without complicated commands.
概要
¥Synopsis
hexo.extend.deployer.register(name, function (args) { |
参数 args
将传递到函数中。它包含 _config.yml
中设置的 deploy
值,以及用户在其终端中输入的确切输入。
¥An argument args
will be passed into the function. It contains the deploy
value set in _config.yml
, as well as the exact input users typed into their terminal.