This commit is contained in:
Andras Bacsai 2023-04-27 14:16:16 +02:00
parent 91ba7a5704
commit d1b266a361
4 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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: .

View File

@ -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;
}

View File

@ -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