diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index cb5a484..c2abe95 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -22,16 +22,17 @@ jobs: tags: ahmedhesham301/nginx:latest deploy: - runs-on: ubuntu-latest 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 + run: | + curl -sSl https://cli.ghaymah.systems/install.sh | bash + source ~/.bashrc - name: login to ghaymah - run: $HOME/ghaymah/bin/gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}" + run: gy auth login --email "${{secrets.GHAYMAH_EMAIL}}" --password "${{secrets.GHAYMAH_PW}}" - name: deploy - run: $HOME/ghaymah/bin/gy resource app launch \ No newline at end of file + run: gy resource app launch \ No newline at end of file