mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-16 14:32:08 +08:00
Fix pass CI
This commit is contained in:
@@ -13,10 +13,14 @@ RUN pnpm install --frozen-lockfile
|
||||
COPY . .
|
||||
COPY .next .next
|
||||
|
||||
ARG CI
|
||||
ARG BUILDTIME
|
||||
ARG VERSION
|
||||
ARG REVISION
|
||||
|
||||
# Make CI available in RUN steps
|
||||
ENV CI=$CI
|
||||
|
||||
# Build only if needed (local use)
|
||||
RUN pnpm run telemetry \
|
||||
&& if [ "$CI" != "true" ]; then \
|
||||
|
||||
Reference in New Issue
Block a user