diff --git a/.forgejo/workflows/deploy-preprod.yml b/.forgejo/workflows/deploy-preprod.yml index df6b075..190e138 100644 --- a/.forgejo/workflows/deploy-preprod.yml +++ b/.forgejo/workflows/deploy-preprod.yml @@ -39,12 +39,12 @@ jobs: echo "Deploying site/" sshpass -p "$PASSWORD" rsync -az --delete -O \ - --exclude 'accounts/*' \ - --exclude 'cache/*' \ - --exclude 'sessions/*' \ --include 'accounts/' \ - --include 'cache/' \ + --exclude 'accounts/*' \ --include 'sessions/' \ + --exclude 'sessions/*' \ + --include 'cache/' \ + --exclude 'cache/*' \ -e 'ssh -p 2244 -o StrictHostKeyChecking=no' \ site/ $USERNAME@$HOST:$PREPROD_PATH/site/ diff --git a/public/site/config/config.php b/public/site/config/config.php index 37f3a33..97ceb2c 100644 --- a/public/site/config/config.php +++ b/public/site/config/config.php @@ -25,6 +25,7 @@ return [ 'css' => 'assets/css/panel.css', 'favicon' => 'favicon.svg', 'menu' => require(__DIR__ . '/menu.php'), + 'install' => 'true' ], 'routes' => [ require(__DIR__ . '/routes/logout.php'),