From d839b3a60a50c08b0e561ede2822a0bc1016db37 Mon Sep 17 00:00:00 2001 From: Matt Date: Fri, 7 Aug 2020 11:26:51 -0400 Subject: [PATCH] Use command instead of inline for repo command --- .ci/build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/build.yml b/.ci/build.yml index 87a0aff6..cc8f60a0 100644 --- a/.ci/build.yml +++ b/.ci/build.yml @@ -38,6 +38,6 @@ steps: displayName: 'Add to Kodi repo' inputs: sshEndpoint: repository - runOptions: 'inline' - inline: 'python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }} --datadir /srv/repository/releases/client/kodi/${{ py_version }}' + runOptions: 'commands' + commands: 'sudo -n python3 /usr/local/bin/kodirepo add /srv/repository/incoming/kodi/plugin.video.jellyfin-${{ py_version }} --datadir /srv/repository/releases/client/kodi/${{ py_version }}' condition: startsWith(variables['Build.SourceBranch'], 'refs/tags')