GitHub Actions + ax deploy

Minimal workflow to auto-deploy to AxHub on PR merge.

Workflow

axhub.yaml
name: Deploy
on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: axhub/setup-ax@v1
        with:
          version: latest
      - run: ax deploy --yes
        env:
          AX_TOKEN: ${{ secrets.AX_TOKEN }}

Issuing `AX_TOKEN`

AxHub dashboard → Settings → Tokens → Create PAT (scope: deploy:write).

--yes is non-interactive mode. Recommended in CI.