fix(CI): Fix server setup in cypress by overwriting all files in shallow-server

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2023-08-31 15:09:42 +02:00
Родитель 6f722119f7
Коммит ae54cc05aa
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 74434EFE0D2E2205
1 изменённых файлов: 14 добавлений и 0 удалений

Просмотреть файл

@ -143,8 +143,22 @@ export const applyChangesToNextcloud = async function() {
'./dist',
'./lib',
'./ocs',
'./ocs-provider',
'./resources',
'./console.php',
'./cron.php',
'./index.php',
'./occ',
'./public.php',
'./remote.php',
'./status.php',
'./version.php',
]
folderPaths.forEach((path) => {
console.log(`├─ Copying ${path}`)
})
// Tar-streaming the above folders into the container
const serverTar = tar.c({ gzip: false }, folderPaths)
await container.putArchive(serverTar, {