wip
This commit is contained in:
parent
91ba7a5704
commit
d1b266a361
2
.github/workflows/coolify-builder.yml
vendored
2
.github/workflows/coolify-builder.yml
vendored
@ -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
|
||||
|
2
.github/workflows/production-build.yml
vendored
2
.github/workflows/production-build.yml
vendored
@ -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: .
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user