Skip to content
New issue

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

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

Already on GitHub? # to your account

Re-add project_root support in alias command #447

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

swalkinshaw
Copy link
Member

@swalkinshaw swalkinshaw commented Jul 15, 2024

Fixes #446

@codepuncher @andronocean this looks correct?

With project_root set:

"@development":
  ssh: "example.test"
  path: "/www/examplecom_123/public/current/web/wp"
"@production":
  path: "/www/examplecom_123/public/current/web/wp"
"@staging":
  path: "/www/examplecom_123/public/current/web/wp"

Without project_root set:

"@development":
  ssh: "example.test"
  path: "/srv/www/example.com/current/web/wp"
"@production":
  path: "/srv/www/example.com/current/web/wp"
"@staging":
  path: "/srv/www/example.com/current/web/wp"

@swalkinshaw swalkinshaw force-pushed the alias-cmd-readd-project-root-support branch from 179e975 to 5f8a0f2 Compare July 15, 2024 03:04
@codepuncher
Copy link
Contributor

For some reason, this is removing the ssh key from aliases on any project I try this on!
path seems fine though

@swalkinshaw swalkinshaw force-pushed the alias-cmd-readd-project-root-support branch from 5f8a0f2 to 883f0cb Compare July 15, 2024 12:15
@swalkinshaw
Copy link
Member Author

Oops, restored that

@codepuncher
Copy link
Contributor

Perfect! Works fine for me. Thanks!

@swalkinshaw swalkinshaw merged commit 8b6976b into master Jul 15, 2024
3 checks passed
@swalkinshaw swalkinshaw deleted the alias-cmd-readd-project-root-support branch July 15, 2024 12:46
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

trellis alias generates wrong path for a site on Kinsta
2 participants