Welcome to mirror list, hosted at ThFree Co, Russian Federation.

.gitlab-ci.yml - gitlab.com/Remmina/remmina-web.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9e9d3c906f0c5c2e5d1043e4dbac97795fdee2f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# The Docker image that will be used to build your app
image: ruby:3.1

# Cache gems in between builds
cache:
  key: $CI_COMMIT_REF_SLUG
  paths:
    - vendor/ruby

#Variables
variables:
  JEKYLL_ENV: production
  LANG: "C.UTF-8"
  GIT_SUBMODULE_STRATEGY: recursive

# Functions that should be executed before the build script is run
before_script:
  - apt-get update -qq && apt-get install -y -qq rubygems
  - gem install bundler
  - bundle config set --local path 'vendor/ruby'
  - bundle install -j $(nproc)

pages:
  script:
    - bundle update
    - bundle exec jekyll build -d public
  artifacts:
    paths:
      # The folder that contains the files to be exposed at the Page URL
      - public
  rules:
    # This ensures that only pushes to the default branch will trigger
    # a pages deploy
    - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH