Commit 289933d
authored
feat: Add deploy_source to CLI deploy requests (EX-2032) (#8155)
π Thanks for submitting a pull request! π
#### Summary
Explicitly sends deploy_source: 'cli' in the create deploy request body
so that bitballoon can distinguish CLI deploys from other API consumers.
This enables the UI to show "Last deployed from CLI" instead of grouping
CLI deploys under "Drop".
Fixes:
https://linear.app/netlify/issue/EX-2032/last-deployed-from-ardrop-label-followup
<!--
Explain the **motivation** for making this change. What existing problem
does the pull request solve and how?
-->
---
For us to review and ship your PR efficiently, please perform the
following steps:
- [ ] Open a
[bug/issue](https://github.com/netlify/cli/issues/new/choose) 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](../CONTRIBUTING.md) π. 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)**
<img width="332" height="263" alt="image"
src="https://github.com/user-attachments/assets/6603af6c-f753-4eff-8299-3467a0535a4c"
/>1 parent ca9d3ca commit 289933d
File tree
2 files changed
+31
-2
lines changed- src/commands/deploy
- tests/integration/commands/deploy
2 files changed
+31
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
581 | 581 | | |
582 | 582 | | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
585 | 590 | | |
586 | 591 | | |
587 | 592 | | |
| |||
1358 | 1363 | | |
1359 | 1364 | | |
1360 | 1365 | | |
1361 | | - | |
| 1366 | + | |
1362 | 1367 | | |
1363 | 1368 | | |
1364 | 1369 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1483 | 1483 | | |
1484 | 1484 | | |
1485 | 1485 | | |
| 1486 | + | |
| 1487 | + | |
| 1488 | + | |
| 1489 | + | |
| 1490 | + | |
| 1491 | + | |
| 1492 | + | |
| 1493 | + | |
| 1494 | + | |
| 1495 | + | |
| 1496 | + | |
| 1497 | + | |
| 1498 | + | |
| 1499 | + | |
| 1500 | + | |
| 1501 | + | |
| 1502 | + | |
| 1503 | + | |
| 1504 | + | |
| 1505 | + | |
| 1506 | + | |
| 1507 | + | |
| 1508 | + | |
| 1509 | + | |
1486 | 1510 | | |
1487 | 1511 | | |
1488 | 1512 | | |
| |||
0 commit comments