Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
7fa2d592
Commit
7fa2d592
authored
Jan 26, 2021
by
Joe Longstreet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct api_key parameter for dpl
parent
3aa4a9d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
doc/ci/examples/deployment/README.md
doc/ci/examples/deployment/README.md
+5
-5
No files found.
doc/ci/examples/deployment/README.md
View file @
7fa2d592
...
...
@@ -38,7 +38,7 @@ apt-get install ruby-dev
The Dpl provides support for vast number of services, including: Heroku, Cloud Foundry, AWS/S3, and more.
To use it simply define provider and any additional parameters required by the provider.
For example if you want to use it to deploy your application to Heroku, you need to specify
`heroku`
as provider, specify
`api
-
key`
and
`app`
.
For example if you want to use it to deploy your application to Heroku, you need to specify
`heroku`
as provider, specify
`api
_
key`
and
`app`
.
All possible parameters can be found in the
[
Heroku API section
](
https://github.com/travis-ci/dpl#heroku-api
)
.
```
yaml
...
...
@@ -46,7 +46,7 @@ staging:
stage
:
deploy
script
:
-
gem install dpl
-
dpl --provider=heroku --app=my-app-staging --api
-
key=$HEROKU_STAGING_API_KEY
-
dpl --provider=heroku --app=my-app-staging --api
_
key=$HEROKU_STAGING_API_KEY
```
In the above example we use Dpl to deploy
`my-app-staging`
to Heroku server with API key stored in
`HEROKU_STAGING_API_KEY`
secure variable.
...
...
@@ -67,7 +67,7 @@ staging:
-
apt-get update -yq
-
apt-get install -y ruby-dev
-
gem install dpl
-
dpl --provider=heroku --app=my-app-staging --api
-
key=$HEROKU_STAGING_API_KEY
-
dpl --provider=heroku --app=my-app-staging --api
_
key=$HEROKU_STAGING_API_KEY
only
:
-
master
```
...
...
@@ -90,7 +90,7 @@ staging:
stage
:
deploy
script
:
-
gem install dpl
-
dpl --provider=heroku --app=my-app-staging --api
-
key=$HEROKU_STAGING_API_KEY
-
dpl --provider=heroku --app=my-app-staging --api
_
key=$HEROKU_STAGING_API_KEY
only
:
-
master
...
...
@@ -98,7 +98,7 @@ production:
stage
:
deploy
script
:
-
gem install dpl
-
dpl --provider=heroku --app=my-app-production --api
-
key=$HEROKU_PRODUCTION_API_KEY
-
dpl --provider=heroku --app=my-app-production --api
_
key=$HEROKU_PRODUCTION_API_KEY
only
:
-
tags
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment