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

fix: fixes an issue where the --dir flag on the deploy command was broken #5966

Merged

Conversation

lukasholzer
Copy link
Collaborator

πŸŽ‰ Thanks for submitting a pull request! πŸŽ‰

Summary

Fixes #5949


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code πŸ§‘β€πŸ’». This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire πŸ”₯ (e.g. incident related), you can skip this step.
  • Read the contribution guidelines πŸ“–. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) πŸ§ͺ
  • Update or add documentation (if features were changed or added) πŸ“
  • Make sure the status checks below are successful βœ…

A picture of a cute animal (not mandatory, but encouraged)

@github-actions
Copy link

github-actions bot commented Aug 25, 2023

πŸ“Š Benchmark results

Comparing with fd5d354

  • Dependency count: 1,365 (no change)
  • Package size: 366 MB ⬇️ 0.01% decrease vs. fd5d354

@lukasholzer lukasholzer marked this pull request as ready for review September 15, 2023 09:23
@lukasholzer lukasholzer requested a review from a team as a code owner September 15, 2023 09:23
@lukasholzer lukasholzer merged commit f684887 into main Sep 15, 2023
65 checks passed
@lukasholzer lukasholzer deleted the fix/fixes-an-issue-where-the-deploy-folder-was-broken branch September 15, 2023 12:55
@JamesAwesome
Copy link

JamesAwesome commented Sep 17, 2023

Strangely the bug regarding the --dir flag is only now affecting me. The netlify deploy command now seems to entirely ignore --dir and always deploys cwd

Not having issues with version 16.3.2

ChrisW-B pushed a commit to ChrisW-B/PersonalApi that referenced this pull request Sep 17, 2023
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [@types/twitter](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/twitter) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | devDependencies | patch | [`1.7.1` -> `1.7.2`](https://renovatebot.com/diffs/npm/@types%2ftwitter/1.7.1/1.7.2) |
| [@types/twitter-text](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/twitter-text) ([source](https://github.com/DefinitelyTyped/DefinitelyTyped)) | devDependencies | patch | [`3.1.5` -> `3.1.6`](https://renovatebot.com/diffs/npm/@types%2ftwitter-text/3.1.5/3.1.6) |
| [netlify-cli](https://github.com/netlify/cli) | devDependencies | patch | [`16.3.1` -> `16.3.3`](https://renovatebot.com/diffs/npm/netlify-cli/16.3.1/16.3.3) |

---

### Release Notes

<details>
<summary>netlify/cli (netlify-cli)</summary>

### [`v16.3.3`](https://github.com/netlify/cli/blob/HEAD/CHANGELOG.md#1633-2023-09-15)

[Compare Source](netlify/cli@v16.3.2...v16.3.3)

##### Bug Fixes

-   fixes an issue where the --dir flag on the deploy command was resolving incorrectly ([#&#8203;5966](netlify/cli#5966)) ([f684887](netlify/cli@f684887))

### [`v16.3.2`](https://github.com/netlify/cli/blob/HEAD/CHANGELOG.md#1632-2023-09-13)

[Compare Source](netlify/cli@v16.3.1...v16.3.2)

##### Bug Fixes

-   **deps:** update netlify packages ([#&#8203;5984](netlify/cli#5984)) ([2057f88](netlify/cli@2057f88))

</details>

---

### Configuration

πŸ“… **Schedule**: Branch creation - "before 3pm on Sunday" in timezone America/New_York, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Enabled.

β™» **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ‘» **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi43Ny4wIiwidXBkYXRlZEluVmVyIjoiMzYuNzcuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

Reviewed-on: https://git.chriswb.dev/chrisw-b/PersonalApi/pulls/7
Reviewed-by: chrisw-b <chrisw-b@noreply.localhost>
Co-authored-by: Renovate Bot <renovate.bot@chrisb.xyz>
Co-committed-by: Renovate Bot <renovate.bot@chrisb.xyz>
@South-Paw
Copy link

South-Paw commented Sep 18, 2023

Also noticed this @JamesAwesome

A GitHub action CI deploy command uploaded the entire monorepo to Netlify rather than just the specified --dir πŸ€”

Is this because it uses the workspace when set? Is that related to the --filter command?

@lukasholzer
Copy link
Collaborator Author

@JamesAwesome, sorry for introducing this bug. It should be fixed in 16.3.4 please let us know if something is not working as expected.

@JamesAwesome
Copy link

Thank you!

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.

Version 16.x broke the build path resolution
5 participants