mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-08 07:35:44 +08:00
Fix checkout-pr by using fetch & checkout instead of pull
This commit is contained in:
@@ -44,8 +44,9 @@ RUN apt update \
|
||||
RUN rm -rf ./* && chown node /app
|
||||
|
||||
USER node
|
||||
|
||||
RUN git clone --branch pr-test https://github.com/louislam/uptime-kuma.git .
|
||||
RUN git config --global user.email "no-reply@no-reply.com"
|
||||
RUN git config --global user.name "PR Tester"
|
||||
RUN git clone https://github.com/louislam/uptime-kuma.git .
|
||||
RUN npm ci
|
||||
|
||||
EXPOSE 3000 3001
|
||||
|
Reference in New Issue
Block a user