ttskch/php-heroku-docker-applyer

Enable your PHP project to deploy to Heroku via Container Registry.

dev-master 2018-02-21 18:39 UTC

This package is not auto-updated.

Last update: 2024-07-21 04:44:29 UTC


README

Enable your PHP project to deploy to Heroku via Container Registry.

Installation

$ composer require --dev ttskch/php-heroku-docker-applyer:@dev
$ bin/php-heroku-docker-applyer <appname> # your Heroku app name

After this, following files are hard copied into your project. This library is just for copying files so you can composer-remove this library after this step.

.
├── .circleci
│   └── config.yml
├── .travis.yml
└── Dockerfile

Now you can deploy your project to Heroku by heroku container:login && heroku container:push web.

Deployment via CircleCI or Travis CI

You can also deploy via CircleCI or Travis CI. For this, add following two environment variables to your CI platform.

See also Heroku document.

That's it

Now you can deploy your project to Heroku via CircleCI or Travis CI. Enjoy!