WIP - Persistent storage
This commit is contained in:
@@ -70,7 +70,9 @@ export default async function (job) {
|
||||
|
||||
let volumes =
|
||||
persistentStorage?.map((storage) => {
|
||||
return `${applicationId}-${storage.id}:${type !== 'docker' ? '/app/' : ''}${storage.path}`;
|
||||
return `${applicationId}${storage.path.replace(/\//gi, '-')}:${
|
||||
type !== 'docker' ? '/app/' : ''
|
||||
}${storage.path}`;
|
||||
}) || [];
|
||||
// Previews, we need to get the source branch and set subdomain
|
||||
if (pullmergeRequestId) {
|
||||
|
Reference in New Issue
Block a user