commit
7b64166fb0
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "coolify",
|
"name": "coolify",
|
||||||
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
|
"description": "An open-source & self-hostable Heroku / Netlify alternative.",
|
||||||
"version": "2.2.3",
|
"version": "2.2.4",
|
||||||
"license": "AGPL-3.0",
|
"license": "AGPL-3.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev",
|
"dev": "docker-compose -f docker-compose-dev.yaml up -d && NODE_ENV=development svelte-kit dev",
|
||||||
|
@ -129,9 +129,8 @@ export const removeDestinationDocker = async ({ id, engine }) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
export const createDirectories = async ({ repository, buildId }) => {
|
export const createDirectories = async ({ repository, buildId }) => {
|
||||||
const dashedRepository = dashify(repository);
|
const repodir = `/tmp/build-sources/${repository}/`;
|
||||||
const repodir = `/tmp/build-sources/${dashedRepository}/`;
|
const workdir = `/tmp/build-sources/${repository}/${buildId}`;
|
||||||
const workdir = `/tmp/build-sources/${dashedRepository}/${buildId}`;
|
|
||||||
|
|
||||||
await asyncExecShell(`mkdir -p ${workdir}`);
|
await asyncExecShell(`mkdir -p ${workdir}`);
|
||||||
|
|
||||||
|
@ -243,9 +243,7 @@
|
|||||||
|
|
||||||
const url = `/applications/${id}/configuration/repository.json`;
|
const url = `/applications/${id}/configuration/repository.json`;
|
||||||
try {
|
try {
|
||||||
const repository = `${selected.group.full_path.replace('-personal', '')}/${
|
const repository = selected.project.path_with_namespace;
|
||||||
selected.project.name
|
|
||||||
}`;
|
|
||||||
await post(url, {
|
await post(url, {
|
||||||
repository,
|
repository,
|
||||||
branch: selected.branch.name,
|
branch: selected.branch.name,
|
||||||
|
Loading…
Reference in New Issue
Block a user