Skip to content

Builds this checkout and puts it on g1t.page. Production from the projects production branch, a preview from a pull request or any other branch.

Commit

Prettier over the repository (Closes #165)

npm run format -- . with .prettierrc.json, and nothing else. Test fixtures (fixtures/, *.fixtures.json, *_fixtures.json) stay byte for byte as captured, and guides/self-hosted-runners.mdx is left out because Prettier's MDX printer rewrites it on every run; both are now in .prettierignore, so npm run format:check -- . passes.

G1t-Session:
ses_01m57b7r6jew3aqgyfmhw6yah6
syntaqxcommitted Parentb2f1d97Browse files
1 file+15−150/1 viewed
+15−15
3535
3636 ## Inputs
3737
38−| Input | Default | |
39−| --- | --- | --- |
40−| `project` | The repository's one project with Deployments on | The project's slug. Needed when the repository has several. |
41−| `root-dir` | The project's setting | Where the project is in the checkout. |
42−| `build-command` | The project's setting, else what the build finds | What builds it. |
43−| `output-dir` | The project's setting, else the folder the framework writes, else the first of `dist`, `build`, `out`, `public`, `_site`, `.output/public` | The folder a static build writes. |
44−| `build-as` | The project's setting, else `auto` | What it is built as: `auto`, `static`, `workers` or `docker`. A container is built with the `docker` on the job's `PATH`. |
45−| `dockerfile` | The project's setting, else `Dockerfile` or `Containerfile` | The Dockerfile a container is built from, relative to the project. |
46−| `sha` | The run's commit | The commit this is a build of, for its `g1t / deploy` check. |
47−| `token` | `${{ github.token }}` | The job's own token. It needs `deployments: write`; any other token is refused. |
38+| Input | Default | |
39+| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------- |
40+| `project` | The repository's one project with Deployments on | The project's slug. Needed when the repository has several. |
41+| `root-dir` | The project's setting | Where the project is in the checkout. |
42+| `build-command` | The project's setting, else what the build finds | What builds it. |
43+| `output-dir` | The project's setting, else the folder the framework writes, else the first of `dist`, `build`, `out`, `public`, `_site`, `.output/public` | The folder a static build writes. |
44+| `build-as` | The project's setting, else `auto` | What it is built as: `auto`, `static`, `workers` or `docker`. A container is built with the `docker` on the job's `PATH`. |
45+| `dockerfile` | The project's setting, else `Dockerfile` or `Containerfile` | The Dockerfile a container is built from, relative to the project. |
46+| `sha` | The run's commit | The commit this is a build of, for its `g1t / deploy` check. |
47+| `token` | `${{ github.token }}` | The job's own token. It needs `deployments: write`; any other token is refused. |
4848
4949 ## Outputs
5050
51−| Output | |
52−| --- | --- |
53−| `url` | Where the app is served. |
54−| `deployment-id` | The build's id, `dpl_…`. |
55−| `kind` | `production` or `preview`. |
51+| Output | |
52+| --------------- | -------------------------- |
53+| `url` | Where the app is served. |
54+| `deployment-id` | The build's id, `dpl_…`. |
55+| `kind` | `production` or `preview`. |
5656
5757 ## How it works
5858

Comments

Sign in to comment.