fix(ci): commit hash setting on build

This commit is contained in:
Fernando Fernández 2023-08-17 13:31:37 +02:00
parent 004ed06152
commit d345ff65ad

View File

@ -19,7 +19,7 @@ COPY . .
RUN npm ci --no-audit
# Build client
RUN if [[ $IS_STABLE == "0" ]] ; then export COMMIT_HASH=$(git rev-parse HEAD) ; fi && npm run build
RUN if [ $IS_STABLE = "0" ] ; then export COMMIT_HASH=$(git rev-parse HEAD) ; fi && npm run build
# Deploy built distribution to nginx
FROM nginx:stable-alpine-slim