Handles shipping of the Kompasio web to shared hosting via Deployer. Two separate repositories are pulled and combined into a single release on the server:
┌─────────────────┐ ┌────────────┐
│ czetech/ │ │ │
│ kompasio-site │ │ kompasio │
│ (Astro) │ │ (PHP) │
└────────┬────────┘ └──────┬─────┘
│ │
│ npm │ composer
│ │
└────────┐ ┌──────┘
▼ ▼
┌──────────────┐
│ Webhosting │
└──────────────┘
deploy:prepare— set up release directory structuredeploy:vendors— install PHP dependencies via Composerdeploy:astro— clone, build, and copy Astro output into document rootdeploy:htaccess— upload.htaccessfrom this repodeploy:publish— symlink the new release ascurrent
dep deploy \
-o deploy_path=<DEPLOY_PATH> \
-o hostname=<DEPLOY_HOST> \
-o port=<DEPLOY_PORT> \
-o remote_user=<DEPLOY_USER>