ci: add index.html copy from main page
All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 23s

This commit is contained in:
Claw AI
2026-05-14 09:03:03 +00:00
parent d4a59ee306
commit c467f8cc1e

View File

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