Compare commits
3 Commits
10bc7c1d77
...
c467f8cc1e
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c467f8cc1e | ||
|
|
d4a59ee306 | ||
|
|
7be0a2e9d5 |
@@ -25,6 +25,8 @@ jobs:
|
||||
- name: Deploy to test environment
|
||||
run: |
|
||||
echo "Syncing files to test environment..."
|
||||
apt-get update -qq && apt-get install -y -qq rsync > /dev/null 2>&1 || true
|
||||
|
||||
rsync -av --delete \
|
||||
--exclude='.git' \
|
||||
--exclude='.gitea' \
|
||||
@@ -45,11 +47,15 @@ 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: |
|
||||
chown -R www-data:www-data /deploy/ 2>/dev/null || true
|
||||
chown -R 33:33 /deploy/ 2>/dev/null || true
|
||||
chmod -R 755 /deploy/ 2>/dev/null || true
|
||||
echo "✅ Permissions set"
|
||||
|
||||
|
||||
9
test-pipeline-marker.html
Normal file
9
test-pipeline-marker.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head><title>Pipeline Test ✅</title></head>
|
||||
<body style="font-family:sans-serif;text-align:center;padding:50px;">
|
||||
<h1>🚀 Pipeline Deployment funktioniert!</h1>
|
||||
<p>Diese Datei wurde automatisch über die Gitea Actions Pipeline deployed.</p>
|
||||
<p>Branch: feature/test-pipeline</p>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user