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:
|
||||
|
||||
jobs:
|
||||
buildANDpush:
|
||||
build_and_push_image:
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v5.0.0
|
||||
@@ -21,9 +21,16 @@ jobs:
|
||||
push: true
|
||||
tags: ahmedhesham301/nginx:latest
|
||||
|
||||
# ci:
|
||||
# needs: buildANDpush
|
||||
# runs-on: ubuntu
|
||||
# steps:
|
||||
# - name: install ghaymah cli
|
||||
# run: echo hello
|
||||
deploy:
|
||||
needs: build_and_push_image
|
||||
steps:
|
||||
- name: checkout code
|
||||
uses: actions/checkout@v5.0.0
|
||||
- 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
|
||||
@@ -5,5 +5,10 @@
|
||||
</head>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم