add ghaymah.json
هذا الالتزام موجود في:
20
.ghaymah.json
Normal file
20
.ghaymah.json
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"id": "eb1b607d-2f98-465c-a288-5523387c69ea",
|
||||||
|
"name": "ghaymahci-test",
|
||||||
|
"projectId": "02b6641b-1c1e-47de-ac1d-2f2a8e62c1ea",
|
||||||
|
"ports": [
|
||||||
|
{
|
||||||
|
"expose": true,
|
||||||
|
"number": 80
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"publicAccess": {
|
||||||
|
"enabled": true,
|
||||||
|
"domain": "auto"
|
||||||
|
},
|
||||||
|
"resourceTier": "t1",
|
||||||
|
"container": {
|
||||||
|
"image": "ahmedhesham301/nginx:latest",
|
||||||
|
"pullSecretName": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
12
.github/workflows/ci.yaml
مباع
12
.github/workflows/ci.yaml
مباع
@@ -21,8 +21,16 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ahmedhesham301/nginx:latest
|
tags: ahmedhesham301/nginx:latest
|
||||||
|
|
||||||
ci:
|
deploy:
|
||||||
needs: deploy_to_ghaymah
|
needs: build_and_push_image
|
||||||
steps:
|
steps:
|
||||||
|
- name: checkout code
|
||||||
|
uses: actions/checkout@v5.0.0
|
||||||
- name: install ghaymah cli
|
- name: install ghaymah cli
|
||||||
run: curl -sSl https://cli.ghaymah.systems/install.sh | bash
|
run: curl -sSl https://cli.ghaymah.systems/install.sh | bash
|
||||||
|
|
||||||
|
- name: login to ghaymah
|
||||||
|
run: gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}"
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
run: gy resource app launch
|
||||||
المرجع في مشكلة جديدة
حظر مستخدم