intial commit
هذا الالتزام موجود في:
34
q5-mithal-monitor/.github/workflows/ci.yml
مباع
Normal file
34
q5-mithal-monitor/.github/workflows/ci.yml
مباع
Normal file
@@ -0,0 +1,34 @@
|
||||
|
||||
name: Ghaymah CI/CD Pipeline
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
|
||||
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
deploy-production:
|
||||
name: Deploy to Production
|
||||
needs: build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- 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 }}" --debug
|
||||
|
||||
- name: Deploy to Ghaymah (Production)
|
||||
run: $HOME/ghaymah/bin/gy resource app launch --debug
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم