From 7aada47fd237aa969e7e7e4f63d881819cdf34dc Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Fri, 9 Sep 2022 16:19:17 +0800 Subject: [PATCH] Created Test Pull Requests (markdown) --- Test-Pull-Requests.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Test-Pull-Requests.md diff --git a/Test-Pull-Requests.md b/Test-Pull-Requests.md new file mode 100644 index 0000000..62283dc --- /dev/null +++ b/Test-Pull-Requests.md @@ -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=' louislam/uptime-kuma:pr-test +``` + +Example: +UPTIME_KUMA_GH_REPO=`tamasmagyar:test/add-cypress-tests` + +You can copy the name from here easily: + + + + + +Add `-v uptime-kuma-pr-test:/app/data` if you need a persistent storage. + + +After started, go to http://localhost:3000 \ No newline at end of file