Socket
Socket
Sign inDemoInstall

auto-deploy-service

Package Overview
Dependencies
68
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    auto-deploy-service

An automatic pull commit of the server. After the deployment of the project commit, the automatic pull down.


Version published
Weekly downloads
10
increased by900%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

auto-deploy-service

自动部署服务。用于搭配webhook使用,当push新的commit到仓库时,服务端自动部署最新代码。

使用说明

npm install -g auto-deploy-service
---
auto-deploy-service -C config.json

命令参数

  • -V --version 查看当前版本
  • -h --help 查看帮助
  • -C --config [file] 启动配置文件
  • log 显示日志

配置文件参数

名称类型必填描述
portNumber指定服务启动使用的端口号,默认为4000。
repositoryArray指定管理的子项目。
repository 数组
名称类型必填描述
dirString项目的根目录路径。
tokenStringWebhook的token。
config.json 示例
{
  "port": 3399,
  "repository": [
    {
      "dir": "/home/project/xxx",
      "token": "xxx"
    }
  ]
}

Keywords

FAQs

Last updated on 09 Aug 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc