The remote option does not work
With the example command I get:
$ ssh <server> -t "curl -sSL https://gitlab.com/CLARIN-ERIC/provision_update/raw/master/wrapper.sh | bash -s -- --deploy_script_tag <version>"
This script must be run as user deploy
Connection to rs249811.rs.hosteurope.de closed.
For it to run I need:
$ ssh <server> -t "cd /home/deploy/; curl -sSL https://gitlab.com/CLARIN-ERIC/provision_update/raw/master/wrapper.sh | sudo -u deploy bash -s -- --deploy_script_tag <version>"