{"id":34725812,"url":"https://github.com/liquidlight/deployer-typo3-ci","last_synced_at":"2026-01-20T17:59:23.918Z","repository":{"id":207765929,"uuid":"719471495","full_name":"liquidlight/deployer-typo3-ci","owner":"liquidlight","description":"Package for deploying TYPO3 via CI","archived":false,"fork":false,"pushed_at":"2025-11-12T09:46:39.000Z","size":127,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-12T11:29:29.489Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liquidlight.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-16T08:36:26.000Z","updated_at":"2025-11-12T09:46:42.000Z","dependencies_parsed_at":"2025-06-12T08:25:50.445Z","dependency_job_id":"e85029ed-f7bd-4ca6-a2eb-f3727c460bab","html_url":"https://github.com/liquidlight/deployer-typo3-ci","commit_stats":null,"previous_names":["liquidlight/deployer-typo3-ci"],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/liquidlight/deployer-typo3-ci","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidlight%2Fdeployer-typo3-ci","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidlight%2Fdeployer-typo3-ci/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidlight%2Fdeployer-typo3-ci/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidlight%2Fdeployer-typo3-ci/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liquidlight","download_url":"https://codeload.github.com/liquidlight/deployer-typo3-ci/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liquidlight%2Fdeployer-typo3-ci/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28017200,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-25T02:00:05.988Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-12-25T02:27:11.162Z","updated_at":"2025-12-25T02:27:11.228Z","avatar_url":"https://github.com/liquidlight.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Liquid Light Deployer\n\nThis package is used by Liquid Light to deploy TYPO3 websites via CI - specifically Gitlab.\n\n---\n\nIt is best used within Gitlab CI as it can utilise several environment variables.\n\nThe basis for this is [PHP Deployer](https://deployer.org/), however a lot of functionality comes from [deployer-extended-typo3](https://github.com/sourcebroker/deployer-extended-typo3) and it's many meta-packages.\n\n## Options\n\nThere are several settings [defined by default](./deployer/hosts) within this package for the most common hosts.\n\n### Hosts\n\nSet the hostname of the server in the `deploy.php` file - the rest of the connection details should be in your `.ssh/config` file\n\n```php\nhost('production')\n  -\u003eset('hostname', 'client.xxx')\n;\n```\n\n#### Existing Hosts\n\nThe following hosts have a config file in the `deployer/hosts` file with some sensible defaults\n\n- production\n- staging\n- local\n\n### Clearing OPCache\n\nIf the server has `OPCache` installed, it will need to be cleared on each deployment to allow PHP and Apache to see the new symlinks.\n\nTo do this, you need to declare an array in `public_urls` in the deploy file, along with adding the `cache:clear_php_http` task for the environment.\n\n1. Add `-\u003eset('public_urls', ['[URL]'])` to the `production` host in `deploy.php`\n2. Add the `cache:clear_php_http` task for production instances (example below)\n\n```php\non(select('instance=production'), function ($host) {\n\tafter('cache:clear_php_cli', 'cache:clear_php_http');\n});\n```\n\n### Pushing the database\n\nPushing the database to live is prohibited, however there are some cases where this needs to be done.\n\nTo allow this, add the following to your local `deploy.php` file\n\n```php\nset('db_allow_push_live', true);\n```\n\n## Common settings\n\n### VPS\n\n#### Configuration\n\nAdd the following settings if not set (and adjust if necessary). They can be set globally or chained to the host (e.g. `-\u003eset('writable_use_sudo', true)`)\n\n```php\nset('writable_use_sudo', true);\nset('cleanup_use_sudo', true);\nset('writable_mode', 'chgrp');\nset('http_group', 'www-data');\n```\n\n#### Additional tasks\n\n**`deploy:vps:writable`**\n\nAdd an extra post-deploy task to reset permissions and reboot PHP if needed\n\n```php\nafter('typo3:cache:flush:pages', 'deploy:vps:writable');\n```\n\n**`service:php_fpm_reload`**\n\nAdd PHP reloading to set the correct version as documented in [deployer-extended](https://github.com/sourcebroker/deployer-extended?tab=readme-ov-file#service)\n\n## Upgrading\n\n### v2 -\u003e v3\n\nAs well as removing some functionality, the v3 upgrade requires some changes to the `deploy.php` file\n\n1. In `deploy.php`, update the require location \u0026 class invocation\n\n```php\n\u003c?php\n\nnamespace Deployer;\n\nrequire_once './vendor/autoload.php';\nnew \\LiquidLight\\Deployer\\Loader();\n```\n\n2. Review each environment and remove the `ll_deployer_environment` declaration - this doesn't add any tasks or configuration any more\n    - **Note:** If it was set to `vps` then follow the [**Common settings -\u003e VPS**](#vps) steps above\n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidlight%2Fdeployer-typo3-ci","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliquidlight%2Fdeployer-typo3-ci","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliquidlight%2Fdeployer-typo3-ci/lists"}