Skip to content

Commit 51aa355

Browse files
committed
Readme
1 parent 104ac6c commit 51aa355

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,17 @@ You can customize the action in `.github/workflows/mockzilla.yml`:
117117
with:
118118
token: ${{ secrets.GITHUB_TOKEN }}
119119
region: us-east-1 # optional — preferred AWS region, used as a hint on first deploy only
120-
memory: 128 # optional — memory in MB (e.g. 128, 256, 512)
121-
timeout: 10000 # optional — request timeout in milliseconds
120+
memory-size: 256 # optional — memory in MB (default: 128)
121+
timeout: 60 # optional — request timeout in seconds
122+
environment: '{"ENV":"production","DEBUG":"true"}' # optional
122123
timeout-minutes: 5 # optional — max minutes to wait for simulation to become active (default: 5)
123124
```
124125
125126
| Input | Required | Description |
126127
|---|---|---|
127128
| `token` | yes | `GITHUB_TOKEN` — used to verify repo identity |
128129
| `region` | no | Preferred AWS region (e.g. `us-east-1`, `ap-southeast-1`). Used as a hint on first deploy — if at capacity, the nearest available region is used. Has no effect after the simulation is deployed. |
129-
| `memory` | no | Memory in megabytes (e.g. `128`, `256`, `512`). |
130-
| `timeout` | no | Request timeout for the simulation in milliseconds. |
130+
| `memory-size` | no | Memory in megabytes (e.g. `128`, `256`, `512`). Defaults to `128`. |
131+
| `timeout` | no | Request timeout for the simulation in seconds (e.g. `30`, `60`). |
132+
| `environment` | no | JSON object of environment variables to set in the simulation (e.g. `'{"ENV":"production"}'`). |
131133
| `timeout-minutes` | no | Max minutes the action polls for the simulation to become active. Defaults to `5`. |

0 commit comments

Comments
 (0)