cmake --build: --target is ignored when using --preset
You can't override targets with --target. The following will run the default target rather than custom_target.
cmake --build --preset default --target custom_target
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information