cleanup temp folder correctly and rename correct deb package
This commit is contained in:
parent
5eed1849bc
commit
92d6ae0e7e
@ -65,7 +65,7 @@ package_debian:
|
|||||||
- cp ../database.sql ./OpenMediaCenter/tmp/openmediacenter.sql
|
- cp ../database.sql ./OpenMediaCenter/tmp/openmediacenter.sql
|
||||||
- chmod -R 0775 *
|
- chmod -R 0775 *
|
||||||
- dpkg-deb --build OpenMediaCenter
|
- dpkg-deb --build OpenMediaCenter
|
||||||
- mv OpenMediaCenter-0.1.deb OpenMediaCenter-0.1_amd64.deb
|
- mv OpenMediaCenter.deb OpenMediaCenter-0.1_amd64.deb
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- deb/OpenMediaCenter-0.1_amd64.deb
|
- deb/OpenMediaCenter-0.1_amd64.deb
|
||||||
@ -86,4 +86,5 @@ deploy_test1:
|
|||||||
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
|
||||||
- scp deb/OpenMediaCenter-*.deb root@192.168.0.42:/tmp/
|
- scp deb/OpenMediaCenter-*.deb root@192.168.0.42:/tmp/
|
||||||
- ssh root@192.168.0.42 "apt-get --reinstall install /tmp/OpenMediaCenter-*.deb"
|
- ssh root@192.168.0.42 "apt-get --reinstall install /tmp/OpenMediaCenter-*.deb"
|
||||||
|
- rm /tmp/OpenMediaCenter-*.deb
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user