This GitLab CI configuration is valid. Learn more
.gitlab-ci.yml 482 Bytes
image: node:latest

build site:
  stage: build
  variables:
    CI_DEBUG_TRACE: "true"
  only:
    variables:
      - $CI_COMMIT_REF_NAME == "develop" && $CI_COMMIT_MESSAGE =~ /^auto_deploy*/
      - $CI_COMMIT_REF_NAME == 'master'
  tags:
    - auto_deploy
  script:
    - whoami
    - echo $CI_RUNNER_TAGS
    - echo $CI_COMMIT_REF_NAME
    - echo $CI_COMMIT_NAME
    - echo $CI_COMMIT_TAG
    - pwd
  allow_failure: true
  artifacts:
    expire_in: 1 week
    paths:
      - dist