diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a2ff573..f6bedd7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -65,7 +65,7 @@ package_debian: - cp ../database.sql ./OpenMediaCenter/tmp/openmediacenter.sql - chmod -R 0775 * - dpkg-deb --build OpenMediaCenter - - mv OpenMediaCenter-0.1.deb OpenMediaCenter-0.1_amd64.deb + - mv OpenMediaCenter.deb OpenMediaCenter-0.1_amd64.deb artifacts: paths: - deb/OpenMediaCenter-0.1_amd64.deb @@ -86,4 +86,5 @@ deploy_test1: - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - scp deb/OpenMediaCenter-*.deb root@192.168.0.42:/tmp/ - ssh root@192.168.0.42 "apt-get --reinstall install /tmp/OpenMediaCenter-*.deb" + - rm /tmp/OpenMediaCenter-*.deb