Skip to content

czetech/kompasio-deploy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kompasio Deploy

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 pipeline

  1. deploy:prepare — set up release directory structure
  2. deploy:vendors — install PHP dependencies via Composer
  3. deploy:astro — clone, build, and copy Astro output into document root
  4. deploy:htaccess — upload .htaccess from this repo
  5. deploy:publish — symlink the new release as current

Usage

dep deploy \
    -o deploy_path=<DEPLOY_PATH> \
    -o hostname=<DEPLOY_HOST> \
    -o port=<DEPLOY_PORT> \
    -o remote_user=<DEPLOY_USER>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages