承接 netpromotion/deployer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

netpromotion/deployer

Composer 安装命令:

composer require netpromotion/deployer

包简介

Takes repository and uploads non-ignored files to remote server

README 文档

README

It takes repository and uploads non-ignored files to remote server

How to use it

  1. Go to your project directory
  2. Run composer require --dev netpromotion/deployer
  3. Create deploy.json file
  4. Configure it similar way as dg/ftp-deployment, differences:
    • log is object with two optional keys: config is path of dump of final configuration, output is path of output log
    • ignore is array of additional ignored files (overrides .gitignore)
  5. Private properties (f.e. remote) extract into deploy.local.json file
  6. Run ./vendor/bin/deploy

Examples

deploy.json

{
  "test": true,
  "log": {
    "config": "/deploy.config.log"
  },
  "ignore": [
    "/tests/",
    "!/vendor/"
  ],
  "before": [
    "local: git tag -f deployed",
    "local: git push -f origin deployed",
    "local: composer install"
  ],
  "after": [
    "http://server.tld/deployed.php"
  ]
}

deploy.local.json

{
  "test": false,
  "remote": "ftp://user:password@server.tld/directory"
}

统计信息

  • 总下载量: 349
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-05-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固