Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

32 Commits

Folders and files

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

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages