Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
Merge pull request #521 from fecgov/feature/fix-formatting-in-tasks
Browse files Browse the repository at this point in the history
Fix formatting in tasks.py
  • Loading branch information
fec-jli authored Aug 12, 2020
2 parents 5a78485 + 2f57aea commit e39ffa4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def _detect_space(repo, branch=None, yes=False):
('dev', lambda _, branch: branch == 'develop'),
)


@task
def deploy(ctx, space=None, branch=None, login=None, yes=False):
"""Deploy app to Cloud Foundry.
Expand All @@ -79,7 +80,7 @@ def deploy(ctx, space=None, branch=None, login=None, yes=False):
if space is None:
return

# Set api
# Set api
api = 'https://api.fr.cloud.gov'
ctx.run('cf api {0}'.format(api), echo=True)

Expand Down

0 comments on commit e39ffa4

Please sign in to comment.