254 files + 21135 − 5399 Inline Compare changes Side-by-side Inline Show whitespace changes Files 254 Some changes are not shown. For a faster browsing experience, only 119 of 254 files are shown. Download one of the files below to see all changes. .gitlab-ci.yml +5 −3 Original line number Diff line number Diff line Loading @@ -11,12 +11,14 @@ before_script: build: stage: build script: - mkdir public - for f in dist/*.tgz; do tar -C ./public -xzf "$f"; done - 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 +5 −3 Original line number Diff line number Diff line Loading @@ -11,12 +11,14 @@ before_script: build: stage: build script: - mkdir public - for f in dist/*.tgz; do tar -C ./public -xzf "$f"; done - 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/