mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-17 09:05:56 +00:00
Created Test Pull Requests (markdown)
parent
99001aea0b
commit
7aada47fd2
1 changed files with 20 additions and 0 deletions
20
Test-Pull-Requests.md
Normal file
20
Test-Pull-Requests.md
Normal file
|
@ -0,0 +1,20 @@
|
|||
Now you can test pull requests without setting up any development environment.
|
||||
|
||||
You just need to use this docker image with specified pr repo name:
|
||||
```bash
|
||||
docker run --rm -it -p 3000:3000 -p 3001:3001 --pull always -e 'UPTIME_KUMA_GH_REPO=<PR REPO, YOU CAN COPY>' louislam/uptime-kuma:pr-test
|
||||
```
|
||||
|
||||
Example:
|
||||
UPTIME_KUMA_GH_REPO=`tamasmagyar:test/add-cypress-tests`
|
||||
|
||||
You can copy the name from here easily:
|
||||
|
||||
<img src="https://user-images.githubusercontent.com/1336778/189304667-f0dbce41-95d1-4828-a0e4-e210859a160c.png" width=500 />
|
||||
|
||||
|
||||
|
||||
Add `-v uptime-kuma-pr-test:/app/data` if you need a persistent storage.
|
||||
|
||||
|
||||
After started, go to http://localhost:3000
|
Loading…
Add table
Reference in a new issue