هذا الالتزام موجود في:
30
.github/workflows/main.yaml
مباع
30
.github/workflows/main.yaml
مباع
@@ -1,19 +1,25 @@
|
||||
name: Deploy
|
||||
|
||||
on:
|
||||
push:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
needs: build_and_push_image
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
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: Checkout code
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: login to ghaymah
|
||||
run: $HOME/ghaymah/bin/gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}"
|
||||
- name: Install Ghaymah CLI
|
||||
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
|
||||
|
||||
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم