280 files + 23182 − 4720 Inline Compare changes Side-by-side Inline Show whitespace changes Files 280 Some changes are not shown. For a faster browsing experience, only 105 of 280 files are shown. Download one of the files below to see all changes. .gitlab-ci.yml +3 −1 Original line number Diff line number Diff line Loading @@ -14,9 +14,11 @@ build: - npm install - npm run build after_script: - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json - TAG=`git describe --tags $(git rev-list --tags --max-count=1)` - echo "{\"name\":\"$SITE_NAME\", \"tag\":\"$TAG\" }" > request.json - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL" artifacts: expire_in: 30 min paths: - $ARTIFACTS_PATH .nvmrc +1 −1 Original line number Diff line number Diff line 13.8 14.5 Dockerfile +16 −6 Original line number Diff line number Diff line FROM node:14.5-alpine as build RUN mkdir -p /home/node/ui-styleguide/node_modules WORKDIR /home/node/ui-styleguide COPY package*.json ./ RUN npm install COPY . . RUN npm run build # --- FROM nginx:alpine # Remove default index file RUN rm /usr/share/nginx/html/* # Copy customized config COPY ./docker/nginx/default.conf /etc/nginx/conf.d/ # Add all tarballs and unzip it ADD ./dist/* /usr/share/nginx/html/ COPY --from=build /home/node/ui-styleguide/public /usr/share/nginx/html/
.gitlab-ci.yml +3 −1 Original line number Diff line number Diff line Loading @@ -14,9 +14,11 @@ build: - npm install - npm run build after_script: - echo "{\"job_token\":\"$CI_JOB_TOKEN\", \"name\":\"$SITE_NAME\" }" > request.json - TAG=`git describe --tags $(git rev-list --tags --max-count=1)` - echo "{\"name\":\"$SITE_NAME\", \"tag\":\"$TAG\" }" > request.json - "curl -H 'Content-Type: application/json' -X POST -d @request.json $WEBHOOK_URL" artifacts: expire_in: 30 min paths: - $ARTIFACTS_PATH
Dockerfile +16 −6 Original line number Diff line number Diff line FROM node:14.5-alpine as build RUN mkdir -p /home/node/ui-styleguide/node_modules WORKDIR /home/node/ui-styleguide COPY package*.json ./ RUN npm install COPY . . RUN npm run build # --- FROM nginx:alpine # Remove default index file RUN rm /usr/share/nginx/html/* # Copy customized config COPY ./docker/nginx/default.conf /etc/nginx/conf.d/ # Add all tarballs and unzip it ADD ./dist/* /usr/share/nginx/html/ COPY --from=build /home/node/ui-styleguide/public /usr/share/nginx/html/