Commit 525f77e5 authored by Alessandro Frigeri's avatar Alessandro Frigeri
Browse files

Update .gitlab-ci.yml

parent 22fde0a2
Loading
Loading
Loading
Loading
Loading
+15 −1
Original line number Original line Diff line number Diff line
# The Docker image that will be used to build your app
# The Docker image that will be used to build your app
image: node:lts
image: ruby:2.7
# Functions that should be executed before the build script is run
before_script:
  - "services:     - postgres:11.7"
pages:
  script:
    - "before_script:     - bundle install"
  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