الملفات
Github-Actions-Pipeline/README.md
ahmedgamalyousef 8c36d1acbe
نجحت جميع الفحوصات
/ build_and_push_image (push) Successful in 21s
/ deploy (push) Successful in 12s
Updating Files
2025-10-09 23:26:57 +03:00

60 أسطر
1.2 KiB
Markdown

# 🚀 Ghaymah Cloud Deployment Guide using GitHub Actions
## 🖥️ On Your Terminal
1. **Install Ghaymah CLI**
```bash
curl -sSl https://cli.ghaymah.systems/install.sh | bash
```
2. **Navigate to Ghaymah Binary Directory & Create Project Files**
```bash
cd /ghaymah/bin
```
Create the Project files:
- `Dockerfile`
- `index.html`
3. **Set Project Name**
```bash
gy r c p --set .name="project name"
```
4. **Initialize Project with Your Ghaymah Project ID**
```bash
gy r a init -p project-id
```
5. **Copy Configuration File**
- Copy the generated `.ghaymah.json` file to your repository.
6. **Your Repository Structure Should Look Like:**
```
├── .github/workflows/cicd.yaml
├── index.html
├── .ghaymah.json
├── Dockerfile
├── README.md
```
---
## 🌩️ On Your GitPasha Account
1. **Add Repository Secrets**
- `DOCKERHUB_USERNAME`
- `DOCKERHUB_PASSWORD`
- `GHAYMAH_EMAIL`
- `GHAYMAH_PASSWORD`
2. **Push Your Repository**
```bash
git add .
git commit -m "Initial commit for Ghaymah deployment"
git push origin main
```
---
**Now your project is ready for automatic deployment via Ghaymah Cloud !**