blue-city-46130
03/30/2023, 2:45 PMenough-analyst-54434
03/30/2023, 2:49 PMbitter-ability-32190
03/30/2023, 2:53 PMblue-city-46130
03/30/2023, 2:56 PMblue-city-46130
03/30/2023, 3:07 PMenough-analyst-54434
03/30/2023, 3:12 PMpants --changed-since=<sha/branch> <goals>
. Now the run
goal only accepts one thing to run and fails otherwise; so this wouldn't work if there are multiple deploys needed. The package
goal can package multiple changed deployment artifacts (they'll be deposited under dist/
). You could then operate on all such deployment artifacts.
Likely, though you'll need to customize some. The --changed-since
basic infra is there though.ripe-gigabyte-88964
03/30/2023, 3:15 PM--changed-since
on Github because on pull requests I get Invalid symmetric difference expression
- I'm assuming this is calling git log
under the hood but the only thing git log shows on PRs is something like cc87e7389fa19c0a4b68af21212a9b50ae9f8469 Merge c98ed6b4db10b6dc7612dea68e3c338f6efc6b42 into 57fbc92e7ca355ce28c061dadc358d9e7daa34fb
rather than the full commit historyblue-city-46130
03/30/2023, 3:21 PMenough-analyst-54434
03/30/2023, 3:23 PMripe-gigabyte-88964
03/30/2023, 3:25 PMdist
folder as an artifact, and then uses a custom script to output a list of artifacts to deploy. Then a second workflow job runs on a matrix to grab each individual deployment artifact and deploys it out. Depending on what you're working with though you could even have pants do your deployments for you, which is the most convenient option.blue-city-46130
03/30/2023, 3:30 PMblue-city-46130
03/30/2023, 3:33 PM