ci / build (push) Canceled after 0s
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
21 lines
541 B
YAML
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.
|