2017 © Pedro Peláez
 

library deployer

Takes repository and uploads non-ignored files to remote server

image

netpromotion/deployer

Takes repository and uploads non-ignored files to remote server

  • Tuesday, January 9, 2018
  • by petrknap
  • Repository
  • 1 Watchers
  • 0 Stars
  • 50 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 8 Versions
  • 6 % Grown

The README.md

Deployer

It takes repository and uploads non-ignored files to remote server, (*1)

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"
}

The Versions

09/01 2018

dev-master

9999999-dev

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

09/01 2018

v1.0.6

1.0.6.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

09/01 2018

v1.0.5

1.0.5.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

22/12 2017

v1.0.4

1.0.4.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

29/05 2017

v1.0.3

1.0.3.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

29/05 2017

v1.0.2

1.0.2.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

17/05 2017

v1.0.1

1.0.1.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa

15/05 2017

v1.0.0

1.0.0.0

Takes repository and uploads non-ignored files to remote server

  Sources   Download

MIT

The Requires

 

The Development Requires

by Filip Halaxa