diff --git a/.gitea/workflows/deploy-test.yml b/.gitea/workflows/deploy-test.yml index 0f24f6a..cc1f929 100644 --- a/.gitea/workflows/deploy-test.yml +++ b/.gitea/workflows/deploy-test.yml @@ -25,7 +25,6 @@ jobs: - name: Deploy to test environment run: | echo "Syncing files to test environment..." - # Install rsync if not available apt-get update -qq && apt-get install -y -qq rsync > /dev/null 2>&1 || true rsync -av --delete \ @@ -48,11 +47,14 @@ jobs: --exclude='AGENTS.md' \ --exclude='README.md' \ ./ /deploy/ + + # Set haus-schleusingen.html as index + cp /deploy/haus-schleusingen.html /deploy/index.html 2>/dev/null || true + echo "✅ Deployment complete!" - name: Set permissions run: | - # www-data uid is 33 on host chown -R 33:33 /deploy/ 2>/dev/null || true chmod -R 755 /deploy/ 2>/dev/null || true echo "✅ Permissions set"