diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 1e5d21eff..e9850e8f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -89,10 +89,15 @@ deploy_nightly:
only:
- master
script:
+ - sed -i
+ 's,.*,F-Nightly,'
+ app/src/main/res/values*/strings.xml
+ # add this nightly repo as a enabled repo
- sed -i -e '/<\/string-array>/d' -e '/<\/resources>/d' app/src/main/res/values/default_repos.xml
- echo "- ${CI_PROJECT_PATH}-nightly
" >> app/src/main/res/values/default_repos.xml
- echo "- ${CI_PROJECT_URL}-nightly/raw/master/fdroid/repo
" >> app/src/main/res/values/default_repos.xml
- cat config/nightly-repo/repo.xml >> app/src/main/res/values/default_repos.xml
+ # build the APKs!
- ./gradlew assembleDebug
- apt update; apt install -y --no-install-recommends fdroidserver python3-qrcode openssh-client
- fdroid nightly -v