This action allows you to deploy using Dpl.
It was built using dpl v1, that is the currently used in production on Travis CI.
List of providers already added:
If you want a new provider, open your PR adding the provider params to action.yml, index.js and document it on readme.md, following the heroku pattern. I will be happy to accept your contribution. :)
Input | Required | Description |
---|---|---|
provider |
true |
The provider you want to deploy to. |
base-dir |
false |
Relative folder from root to mount, could be some like "api" |
skip_cleanup |
false |
Prevent from resetting your working directory and deleting all changes made during the build. |
Every provider has slightly different flags, which are documented in dpl repository.
Input | Required | Description |
---|---|---|
app |
false |
Heroku app name |
api-key |
false |
Heroku api key |
strategy |
false |
Deployment strategy for Dpl |
username |
false |
heroku username. Not necessary if api-key is used. Requires git strategy. |
password |
false |
heroku password. Not necessary if api-key is used. Requires git strategy. |
Input | Description |
---|---|
result |
"Successfully deployed" in case of success |
If dpl
fail running it will throw an error, and the job will fail.
- name: Dpl to heroku
uses: tiagogouvea/github-dpl-action@master
with:
provider: 'heroku'
app: 'your-heroku-app-name'
api-key: 'your-66a593c465c7ec9-heroku-api-key'