CI: Don’t rely on /tmp

/tmp is mounted noexec, so can’t be used to run scripts.
This commit is contained in:
David Prevot 2022-06-29 17:33:17 +02:00
parent 70790cd6bb
commit 6071d5973c
1 changed files with 1 additions and 12 deletions

View File

@ -14,9 +14,6 @@ steps:
commands:
- mk-build-deps --install --remove debian/control
- gbp buildpackage -us -uc
volumes:
- name: tmp
path: /tmp
when:
branch:
- debian
@ -30,16 +27,8 @@ steps:
key:
from_secret: drone_private_key
target: /home/droneci/evoadmin-mail/
source: /tmp/evoadmin-mail/
source: ../evoadmin-mail*
delete: true
volumes:
- name: tmp
path: /tmp
when:
branch:
- debian
volumes:
- name: tmp
host:
path: /tmp