From 72af55be0d0e8c3a9eff75ce2e8034b473cc4c14 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 26 Jan 2021 15:46:12 +0000 Subject: [PATCH] ci: Run command in an interactive login shell so that all variables are set correct --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f4820007..3172ca44 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -107,7 +107,7 @@ upload-fdroid: - cd build/android/ - export UPDATE_VERSION=$(pcregrep -o1 'version:\s([0-9]*\.[0-9]*\.[0-9]*)\+[0-9]*' ../../pubspec.yaml) && mv app-release.apk "${UPDATE_VERSION}.apk" - rsync -rav -e ssh ./ fluffy@fdroid.nordgedanken.dev:/opt/fdroid/fluffychat/repo - - ssh fluffy@fdroid.nordgedanken.dev "cd /opt/fdroid/fluffychat && fdroid update --verbose" + - ssh fluffy@fdroid.nordgedanken.dev -t '/bin/bash -i -l -c "cd /opt/fdroid/fluffychat && fdroid update --verbose"' needs: ["build_android_apk"] resource_group: playstore_release allow_failure: true