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

Improve deploy process #4961

Closed
syrusakbary opened this issue Jul 25, 2024 · 0 comments · Fixed by #4994
Closed

Improve deploy process #4961

syrusakbary opened this issue Jul 25, 2024 · 0 comments · Fixed by #4994
Assignees
Labels
🎉 enhancement New feature!

Comments

@syrusakbary
Copy link
Member

syrusakbary commented Jul 25, 2024

As a user, if I go to a repo with a set app.yaml for which I don't have permissions to push (eg: https://github.com/wasmer-examples/wordpress-wasmer-starter )

Basically, an app.yaml with either [owner & name] or [app_id] (or both). If I don't have permissions to deploy, it should prompt me if I want to deploy to a new app, and if I confirm.. then delete owner, name and app_id and trigger again the deploy process.

Example:

$ git clone https://github.com/wasmer-examples/wordpress-wasmer-starter && cd wordpress-wasmer-starter
$ wasmer deploy
It seems the app {name} ({owner}) doesn't exist, or you don't have permissions for it.
Do you want to deploy this as a new app? (y/n)
# Delete owner, name and app_id from app.yaml
# Trigger the deploy flow again
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants