the UI makes this possible already since your deploy screen has skip steps. (attached image) works correctly. Fails if i do not skip the step and for the deploy-to environment does not have a machine configured.
Unfortunately Octo.exe doesn’t support these skip steps (no --skipFile= with list of packages to exclude)
so either updating Octo.exe with a --skipFile or creating an OctopusSkipPackage in the variables tab would accomplish the same thing.