Compare commits
9 الالتزامات
9c37736dc7
...
main
| المؤلف | SHA1 | التاريخ | |
|---|---|---|---|
| c4c7dc83a0 | |||
| 63850448c7 | |||
| fa3a1a096b | |||
| fff8c2353b | |||
| b19c34ec12 | |||
| 8f9abab1b8 | |||
| 605adc24f0 | |||
| 0e7b32fe23 | |||
| 6d265e83f3 |
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": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
21
.github/workflows/ci.yaml
مباع
21
.github/workflows/ci.yaml
مباع
@@ -3,7 +3,7 @@ on:
|
|||||||
pull_request:
|
pull_request:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
buildANDpush:
|
build_and_push_image:
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: checkout code
|
||||||
uses: actions/checkout@v5.0.0
|
uses: actions/checkout@v5.0.0
|
||||||
@@ -21,9 +21,16 @@ jobs:
|
|||||||
push: true
|
push: true
|
||||||
tags: ahmedhesham301/nginx:latest
|
tags: ahmedhesham301/nginx:latest
|
||||||
|
|
||||||
# ci:
|
deploy:
|
||||||
# needs: buildANDpush
|
needs: build_and_push_image
|
||||||
# runs-on: ubuntu
|
steps:
|
||||||
# steps:
|
- name: checkout code
|
||||||
# - name: install ghaymah cli
|
uses: actions/checkout@v5.0.0
|
||||||
# run: echo hello
|
- name: install ghaymah cli
|
||||||
|
run: curl -sSl https://cli.ghaymah.systems/install.sh | bash
|
||||||
|
|
||||||
|
- name: login to ghaymah
|
||||||
|
run: $HOME/ghaymah/bin/gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}"
|
||||||
|
|
||||||
|
- name: deploy
|
||||||
|
run: $HOME/ghaymah/bin/gy resource app launch
|
||||||
@@ -1,9 +1,14 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Simple Website</title>
|
<title>Simple Website</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<p>Hello, world !</p>
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
|
<p>Hello, world!</p>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم