1.2 KiB
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:
- Authenticate using the Ghaymah CLI.
- Select the target project.
- Deploy the latest Docker image.
- 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.