الملفات

1.2 KiB

Ghaymah CLI Integration

Overview

The deployment workflow can be integrated with the Ghaymah CLI to automate application deployments after a successful Docker image build and push.


Authentication

The GitHub Actions workflow should authenticate using credentials stored as GitHub Secrets.

Required secrets:

  • GHAYMAH_USERNAME
  • GHAYMAH_TOKEN

Deployment Process

After the Docker image is pushed to the Ghaymah Container Registry, the deployment workflow can execute Ghaymah CLI commands to update the running application.

Typical deployment flow:

  1. Authenticate using the Ghaymah CLI.
  2. Select the target project.
  3. Deploy the latest Docker image.
  4. Verify that the deployment completed successfully.

Example Workflow

Build Docker Image
        ↓
Push Image to Ghaymah Container Registry
        ↓
Authenticate with Ghaymah CLI
        ↓
Deploy Latest Image
        ↓
Verify Deployment

Notes

Since the Ghaymah CLI commands and authentication syntax were not provided, this document describes the expected integration workflow. The actual CLI commands can be added once the official Ghaymah CLI documentation is available.