You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ Any "extra" arguments will be passed into the Nix calls, so for instance to depl
28
28
You can try out this tool easily with `nix run`:
29
29
-`nix run github:serokell/deploy-rs your-flake`
30
30
31
-
If you want to deploy multiple flakes or a subset of profiles with one invocation, instead of calling `deploy <flake>` you can issue `deploy --targets <flake> [<flake>...]` where `<flake>` is supposed to take the same format as discussed before.
31
+
If you want to deploy multiple flakes or a subset of profiles with one invocation, instead of calling `deploy <flake>` you can add `--target` multiple times. Use shell brace expansion to make this easier: `deploy --target={<flake>,<flake>,...}` where `<flake>` is supposed to take the same format as discussed before. Ex: `--target=.#{host1,host2.system,host3.myuser}`.
32
32
33
33
Running in this mode, if any of the deploys fails, the deploy will be aborted and all successful deploys rolled back. `--rollback-succeeded false` can be used to override this behavior, otherwise the `auto-rollback` argument takes precedent.
0 commit comments