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

Check if local-preview is enabled on a stack #223

Merged
merged 2 commits into from
Mar 18, 2024

Conversation

tomasmik
Copy link
Contributor

➜  test git:(main) ✗ spc stack local-preview
2024/03/15 13:38:12 local preview is not enabled for this stack, enable it in the stack settings: http://tomasmik.app.spacelift.dev/stack/subdir

@tomasmik tomasmik added the quick-win This is an easy issue label Mar 15, 2024
@tomasmik tomasmik self-assigned this Mar 15, 2024
➜  test git:(main) ✗ spc stack local-preview
✔ subdir
2024/03/15 13:38:12 local preview is not enabled for this stack, enable it in the stack settings: http://tomasmik.app.spacelift.tf/stack/subdir
Copy link
Member

@Yantrio Yantrio left a comment

Choose a reason for hiding this comment

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

One tiny nitpick, otherwise LGTM

internal/cmd/stack/local_preview.go Outdated Show resolved Hide resolved
@tomasmik tomasmik merged commit f163764 into main Mar 18, 2024
9 checks passed
@tomasmik tomasmik deleted the issue-218-check-for-local-preview branch March 18, 2024 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quick-win This is an easy issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants