-dpl heroku api --app=gitlab-ci-ruby-test-prod --api-key=$HEROKU_PRODUCTION_API_KEY
only:
only:
-tags
-tags
```
```
...
@@ -50,7 +50,7 @@ This project has three jobs:
...
@@ -50,7 +50,7 @@ This project has three jobs:
## Store API keys
## Store API keys
You'll need to create two variables in your project's **Settings > CI/CD > Environment variables**:
You'll need to create two variables in your project's **Settings > CI/CD > Environment variables** and do not check **Protect variable** and **Mask variable**:
-`HEROKU_STAGING_API_KEY` - Heroku API key used to deploy staging app.
-`HEROKU_STAGING_API_KEY` - Heroku API key used to deploy staging app.
-`HEROKU_PRODUCTION_API_KEY` - Heroku API key used to deploy production app.
-`HEROKU_PRODUCTION_API_KEY` - Heroku API key used to deploy production app.