Files
ghaymah_dev2 618e74277a
ci / build (push) Canceled after 0s
gy CLI: deploy any directory to a live URL
Commands: login/logout/whoami, deploy (TUI + plain/JSON/CI), logs, status, open, list, version.

- deploy pipeline: tar.gz source (gitignore/dockerignore aware) -> presigned upload -> cloud kaniko/buildpacks build -> live URL
- bubbletea/lipgloss TUI with upload progress + live log streaming; auto-falls-back to plain output in CI
- apiclient against the gateway /v1/deployments + /v1/apps endpoints
- GitHub Action (action.yml) + example workflow + install script
2026-10-24 05:18:43 -04:00

21 lines
541 B
YAML

# Example: deploy on every push to main using the Ghaymah GitHub Action.
# Add GY_TOKEN as a repository secret (dashboard → tokens).
name: deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Deploy to Ghaymah
uses: ghaymah/deploy-action@v1
with:
token: ${{ secrets.GY_TOKEN }}
# A comment/PR-preview variation can use `gy deploy --name pr-${{ github.event.number }}`
# to get a per-PR URL and then post it as a comment.