diff --git a/.github/workflows/coolify-builder.yml b/.github/workflows/coolify-builder.yml index b91bdf3a2..24f1c91a9 100644 --- a/.github/workflows/coolify-builder.yml +++ b/.github/workflows/coolify-builder.yml @@ -19,7 +19,7 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build imaged and push to registry + - name: Build image and push to registry uses: docker/build-push-action@v3 with: no-cache: true diff --git a/.github/workflows/production-build.yml b/.github/workflows/production-build.yml index c666edaa9..905377970 100644 --- a/.github/workflows/production-build.yml +++ b/.github/workflows/production-build.yml @@ -19,7 +19,7 @@ jobs: registry: ${{ env.REGISTRY }} username: ${{ github.actor }} password: ${{ secrets.GITHUB_TOKEN }} - - name: Build imaged and push to registry + - name: Build image and push to registry uses: docker/build-push-action@v3 with: context: . diff --git a/bootstrap/helpers.php b/bootstrap/helpers.php index 46028e545..f9be10786 100644 --- a/bootstrap/helpers.php +++ b/bootstrap/helpers.php @@ -128,7 +128,7 @@ function runRemoteCommandSync($server, array $command) $exitCode = $process->exitCode(); if ($exitCode !== 0) { Log::error($output); - throw new \RuntimeException('There was an error running the command.'); + // throw new \RuntimeException('There was an error running the command.'); } return $output; } diff --git a/scripts/install.sh b/scripts/install.sh index 5f7edbdba..2b31d968f 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -38,8 +38,8 @@ echo ".env.example downloaded successfully" # Copy .env.example if .env does not exist if [ ! -f /data/coolify/source/.env ]; then cp /data/coolify/source/.env.example /data/coolify/source/.env - sed -i 's/APP_ENV=.*/APP_ENV=local/g' /data/coolify/source/.env - sed -i 's/APP_DEBUG=.*/APP_DEBUG=true/g' /data/coolify/source/.env + sed -i 's/APP_ENV=.*/APP_ENV=production/g' /data/coolify/source/.env + sed -i 's/APP_DEBUG=.*/APP_DEBUG=false/g' /data/coolify/source/.env sed -i "s|APP_KEY=.*|APP_KEY=base64:$(openssl rand -base64 32)|g" /data/coolify/source/.env sed -i "s|DB_PASSWORD=.*|DB_PASSWORD=$(openssl rand -base64 32)|g" /data/coolify/source/.env fi