.. include:: /Includes.rst.txt .. _task-1791193314: ========================== Task: Deploy the demo site ========================== Description =========== The pipeline of ``main`` deploys the demo site with Deployer once every test passed (``.deployer/deploy.yaml``). The job installs Deployer 8 with ``composer global``, builds the release with the development packages, which hold the demo company, and copies it with rsync, so the server needs neither Git nor Composer. Every deployment empties the database, migrates it and seeds the demo company again. The document root links to the public entries of the current release, and a crontab line runs the worker every minute. The target comes from the CI/CD variables ``DEMO_DEPLOY_HOST`` and ``DEMO_DEPLOY_USER``; the configuration of the site stays on the server in ``shared/.env.local``. Impact ====== Whatever was entered on the demo site is gone after the next deployment. .. index:: CLI