diff --git a/.ghaymah.json b/.ghaymah.json new file mode 100644 index 0000000..850f51c --- /dev/null +++ b/.ghaymah.json @@ -0,0 +1,17 @@ +{ + "id": "0de03ccc-efb5-44f5-9a5e-47827cc89233", + "name": "maqtaa", + "projectId": "17b67804-4f4f-442a-a79f-c44273c6dcdf", + "ports": [ + { + "expose": true, + "number": 6157 + } + ], + "publicAccess": { + "enabled": true, + "domain": "auto" + }, + "resourceTier": "t1", + "dockerFileName": "Dockerfile" +} diff --git a/ghaymah.yml b/ghaymah.yml new file mode 100644 index 0000000..93d45f2 --- /dev/null +++ b/ghaymah.yml @@ -0,0 +1,15 @@ +on: + 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 +