| 24 | 24 | | | `root-dir` | The checkout | Where the project is in the checkout. | |
| 25 | 25 | | | `build-command` | None | A build command of your own, as `g1t/deploy` takes it. | |
| 26 | 26 | | | `output-dir` | None | An output folder of your own, as `g1t/deploy` takes it. | |
| 27 | + | | `build-as` | `auto` | What it is built as: `auto`, `static`, `workers` or `docker`, as `g1t/deploy` takes it. | |
| 28 | + | | `dockerfile` | None | A Dockerfile's path of your own, as `g1t/deploy` takes it. | |
| 27 | 29 | | |
| 28 | 30 | | ## Outputs |
| 29 | 31 | | |
| 30 | 32 | | | Output | | |
| 31 | 33 | | | --- | --- | |
| 32 | | − | | `kind` | `workers` (a `wrangler.jsonc`, `wrangler.json` or `wrangler.toml`, or a framework's Cloudflare adapter), `static` (a site a build writes), `html` (the files as they are) or `none` (nothing to serve, or a framework set up to need a server). | |
| 33 | | − | | `framework` | The framework it is built with, from the table below. Empty when there is none. | |
| 34 | + | | `kind` | `workers` (a `wrangler.jsonc`, `wrangler.json` or `wrangler.toml`, or a framework's Cloudflare adapter), `static` (a site a build writes), `html` (the files as they are), `container` (a `Dockerfile`, a framework set up to need a server, or a server g1t writes a Dockerfile for) or `none` (nothing to serve). | |
| 35 | + | | `framework` | The framework it is built with, from the table below; for a container without one, `dockerfile`, or the server g1t writes a Dockerfile for (`node`, `django`, `flask`, `fastapi`, `python`, `go`, `rails`, `rack`, `laravel`, `php`). Empty when there is none. | |
| 36 | + | | `dockerfile` | A container's own Dockerfile, relative to the project. Empty when g1t writes one, and for anything that is not a container. | |
| 37 | + | | `port` | The port a container listens on: its Dockerfile's `EXPOSE`, else `8080`. | |
| 34 | 38 | | | `install` | How dependencies are installed, from the lockfile: `npm ci`, `pnpm install --frozen-lockfile`, and so on, and `bundle install` for Jekyll. Empty when there is nothing to install. | |
| 35 | 39 | | | `build` | What builds it: your command, the package's `build` script (`npm run build`), the framework's own command, or `wrangler deploy --dry-run` for Workers. Empty when nothing does. | |
| 36 | 40 | | | `output-dir` | The folder served, relative to the project (`.` for the project itself): yours, a Workers project's assets directory, the folder the framework writes, or the first of `dist`, `build`, `out`, `public`, `_site`, `.output/public` that exists. Empty when a build has yet to write it, as for a Cloudflare adapter's Worker. | |
| 37 | 41 | | |
| 38 | | − | When `kind` is `none` because of how a framework is set up, such as a |
| 39 | | − | Next.js app without `output: 'export'`, the step's log says what to |
| 40 | | − | change. |
| 42 | + | When `kind` is `none`, the step's log says what to change or add, such as |
| 43 | + | a `Dockerfile`. [Docker deployments](https://docs.g1t.sh/guides/deployments/#docker-deployments) |
| 44 | + | has the order in which a project's kind is decided. |
| 41 | 45 | | |
| 42 | 46 | | ## Frameworks |
| 43 | 47 | | |