Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: added warning if app already deployed #470

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

raaymax
Copy link
Collaborator

@raaymax raaymax commented Jun 19, 2024

No description provided.

@@ -15,6 +15,7 @@
WRITER_DEPLOY_URL = os.getenv("WRITER_DEPLOY_URL", "https://api.writer.com/v1/deployment/apps")

def deploy(path, token, env):
check_app(token)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should add a quiet or force flag for continuous delivery

@ramedina86
Copy link
Collaborator

I think the point raised by @FabienArcellier is important.

@raaymax I'm guessing it makes more sense to merge this PR and then implement in CLI refactor PR though, right?

@raaymax
Copy link
Collaborator Author

raaymax commented Jul 8, 2024

agree, with both

  • -q, --quiet is important I will add it.
  • first merge this and then add it to click

for now CI can use yes | writer deploy 😛

@raaymax
Copy link
Collaborator Author

raaymax commented Jul 16, 2024

@ramedina86 can we merge this one?

@ramedina86
Copy link
Collaborator

I was just waiting for --quiet has this been implemented?

@raaymax
Copy link
Collaborator Author

raaymax commented Jul 16, 2024

Ach a little miss understanding 😅 I will add it to click PR

@ramedina86 ramedina86 merged commit 5fd457c into writer:dev Jul 16, 2024
15 checks passed
@raaymax raaymax deleted the redeploy_warning_2 branch July 16, 2024 09:22
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants