Skip to content

Commit 0b5bcd3

Browse files
committed
Allow host selection
1 parent 51aa355 commit 0b5bcd3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ You can customize the action in `.github/workflows/mockzilla.yml`:
120120
memory-size: 256 # optional — memory in MB (default: 128)
121121
timeout: 60 # optional — request timeout in seconds
122122
environment: '{"ENV":"production","DEBUG":"true"}' # optional
123+
host: api.mockzilla.net # optional — API host for the simulation URL
123124
timeout-minutes: 5 # optional — max minutes to wait for simulation to become active (default: 5)
124125
```
125126
@@ -130,4 +131,5 @@ You can customize the action in `.github/workflows/mockzilla.yml`:
130131
| `memory-size` | no | Memory in megabytes (e.g. `128`, `256`, `512`). Defaults to `128`. |
131132
| `timeout` | no | Request timeout for the simulation in seconds (e.g. `30`, `60`). |
132133
| `environment` | no | JSON object of environment variables to set in the simulation (e.g. `'{"ENV":"production"}'`). |
134+
| `host` | no | API host for the simulation URL (`api.mockzilla.org`, `api.mockzilla.de`, or `api.mockzilla.net`). Defaults to org setting or `api.mockzilla.org`. |
133135
| `timeout-minutes` | no | Max minutes the action polls for the simulation to become active. Defaults to `5`. |

0 commit comments

Comments
 (0)