7 Commits

Author SHA1 Message Date
Claw AI
8706cb2b70 Merge branch 'main' into feature/issue-6-datenschutz-link
All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 23s
2026-05-14 09:21:55 +00:00
Claw AI
3df40952c1 chore: remove pipeline test marker 2026-05-14 09:07:41 +00:00
Claw AI
c467f8cc1e ci: add index.html copy from main page
All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 23s
2026-05-14 09:03:03 +00:00
Claw AI
d4a59ee306 ci: fix rsync dependency and permissions in deployment
All checks were successful
Deploy Feature Branch to Test / deploy (push) Successful in 24s
2026-05-14 09:01:26 +00:00
Claw AI
7be0a2e9d5 test: add pipeline test marker
Some checks failed
Deploy Feature Branch to Test / deploy (push) Failing after 42s
2026-05-14 08:59:26 +00:00
Claw AI
10bc7c1d77 ci: fix volume mount for deployment target 2026-05-14 08:59:16 +00:00
Claw AI
e24db23888 ci: add deploy pipeline for feature branches to test environment 2026-05-14 08:58:55 +00:00

View File

@@ -0,0 +1,71 @@
name: Deploy Feature Branch to Test
on:
push:
branches:
- "feature/**"
jobs:
deploy:
runs-on: ubuntu-latest
container:
volumes:
- /var/www/test/html:/deploy
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Show branch info
run: |
echo "=== Deploying branch: ${{ gitea.ref_name }} ==="
echo "=== Commit: ${{ gitea.sha }} ==="
echo "=== By: ${{ gitea.actor }} ==="
date
- 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' \
--exclude='.husky' \
--exclude='.prettierrc' \
--exclude='.prettierignore' \
--exclude='.stylelintrc.json' \
--exclude='.htmlhintrc' \
--exclude='.gitignore' \
--exclude='.dockerignore' \
--exclude='Dockerfile' \
--exclude='nginx.conf' \
--exclude='eslint.config.js' \
--exclude='package.json' \
--exclude='docker-preview.png' \
--exclude='page-preview.png' \
--exclude='screenshot-landingpage*' \
--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 33:33 /deploy/ 2>/dev/null || true
chmod -R 755 /deploy/ 2>/dev/null || true
echo "✅ Permissions set"
- name: Deployment summary
run: |
echo "=========================================="
echo " 🚀 Deployment Summary"
echo "=========================================="
echo " Branch: ${{ gitea.ref_name }}"
echo " Commit: ${{ gitea.sha }}"
echo " Target: http://178.104.150.0/"
echo " Time: $(date)"
echo "=========================================="