هذا الالتزام موجود في:
30
.github/workflows/main.yaml
مباع
30
.github/workflows/main.yaml
مباع
@@ -1,19 +1,25 @@
|
|||||||
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
branches:
|
||||||
|
- main
|
||||||
jobs:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
needs: build_and_push_image
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v5.0.0
|
uses: actions/checkout@v5
|
||||||
- name: install ghaymah cli
|
|
||||||
run: curl -sSl https://cli.ghaymah.systems/install.sh | bash
|
|
||||||
|
|
||||||
- name: login to ghaymah
|
- name: Install Ghaymah CLI
|
||||||
run: $HOME/ghaymah/bin/gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}"
|
run: curl -sSL https://cli.ghaymah.systems/install.sh | bash
|
||||||
|
|
||||||
- name: deploy
|
- name: Login to Ghaymah
|
||||||
|
run: $HOME/ghaymah/bin/gy auth login --email "${{ secrets.GHAYMAH_EMAIL }}" --password "${{ secrets.GHAYMAH_PW }}"
|
||||||
|
|
||||||
|
- name: Deploy application
|
||||||
run: $HOME/ghaymah/bin/gy resource app launch
|
run: $HOME/ghaymah/bin/gy resource app launch
|
||||||
|
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم