Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • master
  • feat/new-image-formats
  • clickable-select-chevron
  • 1.2.0
  • 1.4.0
  • 1.4.1
  • 1.4.2
  • 1.5.0
  • 1.5.1
  • 1.5.2
  • 1.5.3
  • 1.5.4
  • 1.5.5
  • 1.6.0
  • 1.6.1
  • 1.6.2
  • 1.6.3
  • 1.6.4
  • 1.7.0
  • 1.8.0
  • 2.0.0
  • 2.0.0-alpha-1
  • 2.0.0-alpha-10
  • 2.0.0-alpha-11
  • 2.0.0-alpha-12
  • 2.0.0-alpha-13
  • 2.0.0-alpha-14
  • 2.0.0-alpha-15
  • 2.0.0-alpha-16
  • 2.0.0-alpha-17
  • 2.0.0-alpha-2
  • 2.0.0-alpha-3
  • 2.0.0-alpha-4
  • 2.0.0-alpha-5
  • 2.0.0-alpha-6
  • 2.0.0-alpha-7
  • 2.0.0-alpha-8
  • 2.0.0-alpha-9
  • 2.0.1
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.1.0
  • 2.1.1
  • 2.1.2
  • 2.10.0
  • 2.11.0
  • 2.12.1
  • 2.13.0
  • 2.14.0
  • 2.15.0
  • 2.16.0
  • 2.16.1
  • 2.17.0
  • 2.18.0
  • 2.19.0
  • 2.2.0
  • 2.2.1
  • 2.20.0
  • 2.3.0
  • 2.3.1
  • 2.3.2
  • 2.3.3
  • 2.3.4
  • 2.4.0
  • 2.5.0
  • 2.5.1
  • 2.5.2
  • 2.6.0
  • 2.7.0
  • 2.7.1
  • 2.8.0
  • 2.9.0
  • 2.9.1
74 results

Target

Select target project
No results found
Select Git revision
Loading items
Show changes
315 files
+ 27942
3895
Compare changes
  • Side-by-side
  • Inline
Loading

.dockerignore

0 → 100644
+5 −0
Original line number Diff line number Diff line
node_modules
public
npm-debug.log
Dockerfile
.dockerignore

.gitlab-ci.yml

0 → 100644
+24 −0
Original line number Diff line number Diff line
image: node:buster

variables:
  SITE_NAME: styleguide.pir-test.eu
  ARTIFACTS_PATH: public
  WEBHOOK_URL: https://ha-web.pirati.cz

before_script:
  - apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -yq curl

build:
  stage: build
  script:
    - npm install
    - npm run build
  after_script:
    - 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

0 → 100644
+1 −0
Original line number Diff line number Diff line
14.5

Dockerfile

0 → 100644
+19 −0
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

COPY --from=build /home/node/ui-styleguide/public /usr/share/nginx/html/

LICENSE

100755 → 100644
+0 −0

File mode changed from 100755 to 100644.