.gitlab-ci.yml

---
# Gitlab CI config
#
# For more options, see http://doc.gitlab.com/ce/ci/yaml/README.html

stages:
- deploy

before_script:
- export LANG=en_US.UTF-8
- export LANGUAGE=en_US.UTF-8
- export LC_ALL=en_US.UTF-8

deploy_head:
  stage: deploy
  script:
  - cd xxx
  - fastlane appstore
  tags:
  - osx
  only:
   - /^xxx_appstore_.*$/
  except:
  - branches
  artifacts:
      paths:
      - xxx/build/*.ipa

deploy_dev:
  stage: deploy
  script:
  - cd xxx
  - fastlane adhoc
  tags:
  - osx
  only:
  - /^xxx_adhoc_.*$/
  except:
  - branches
  artifacts:
    paths:
    - xxx/build/*.ipa