Add Hoid identity and theater mask avatar 🎭

This commit is contained in:
Agent 2026-02-02 21:50:19 +00:00
parent 4c0199e71b
commit ba43da9541
25 changed files with 1622 additions and 62 deletions

View file

@ -0,0 +1,29 @@
<?php
/**
* Example project deploy.php
*
* This is what each TYPO3 project's build/deploy.php looks like
* when using the shared recipe.
*/
namespace Deployer;
// Option 1: Require from git raw URL (works immediately, no composer)
require 'https://git.cloonar.com/Cloonar/ci-templates/raw/branch/main/deployer/typo3-recipe.php';
// Option 2: Via composer (after adding to require-dev)
// require __DIR__ . '/../vendor/cloonar/ci-templates/deployer/typo3-recipe.php';
// Import project-specific server config
import(__DIR__ . '/servers.yaml');
// Project-specific cachetool sockets
host('stage')
->set('cachetool', '/var/run/phpfpm/PROJECTNAME.cloonar.dev.sock');
host('production')
->set('cachetool', '/var/run/phpfpm/PROJECTNAME.TLD.sock');
// Optional: Override settings for this project
// set('shared_dirs', array_merge(get('shared_dirs'), ['public/uploads']));
// set('keep_releases', 10);

View file

@ -0,0 +1,21 @@
# Example project servers.yaml
# Rename PROJECTNAME to your actual project
hosts:
stage:
stage: staging
hostname: web-arm.cloonar.com
remote_user: PROJECTNAME_cloonar_dev
writable_mode: chmod
forward_agent: true
deploy_path: ~/
keep_releases: 1
production:
stage: production
hostname: web-arm.cloonar.com
remote_user: PROJECTNAME_TLD
writable_mode: chmod
forward_agent: true
deploy_path: ~/
keep_releases: 5

View file

@ -0,0 +1,30 @@
# Example: Simple deployment (push to main → deploy to stage)
# Place in your project's .forgejo/workflows/deploy.yaml
name: Deploy
on:
push:
branches: [main]
paths-ignore:
- '**.md'
- 'renovate.json'
jobs:
deploy-stage:
uses: Cloonar/ci-templates/.forgejo/workflows/typo3-deploy.yaml@main
with:
target: stage
php_version: '8.3'
secrets:
deploy_key: ${{ secrets.STAGE_KEY }}
# Optional: Manual production deploy
deploy-production:
if: github.event_name == 'workflow_dispatch'
uses: Cloonar/ci-templates/.forgejo/workflows/typo3-deploy.yaml@main
with:
target: production
php_version: '8.3'
secrets:
deploy_key: ${{ secrets.PROD_KEY }}

View file

@ -0,0 +1,25 @@
# Example: Staged deployment with E2E tests (like gbv-aktuell)
# Place in your project's .forgejo/workflows/deploy.yaml
name: Build and Deploy
on:
push:
branches: [main]
paths-ignore:
- '**.md'
- 'renovate.json'
workflow_dispatch:
jobs:
deploy:
uses: Cloonar/ci-templates/.forgejo/workflows/typo3-staged-deploy.yaml@main
with:
stage_url: https://PROJECTNAME.cloonar.dev
php_version: '8.3'
run_e2e_tests: true
e2e_path: tests/e2e
deploy_production: false # Set true for auto-deploy to prod after tests pass
secrets:
stage_key: ${{ secrets.STAGE_KEY }}
prod_key: ${{ secrets.PROD_KEY }}