summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: aff1d1279ca933e12765e398d3a72850401c48db (plain) (blame)
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
stages:
- deploy

image: ubuntu:rolling
before_script:
  - uname -a

pages:
  stage: deploy
  variables:
    GIT_STRATEGY: clone
    GIT_SUBMODULE_STRATEGY: recursive
    GIT_DEPTH: "1"
    UPDATE_DIR: "../../../public"
    UPDATE_HTTP: "none"
    CC: "clang"
  script:
  - apt-get -qq update
  - apt-get install -qq -y make clang zip zlib1g-dev zlibc python
  - mkdir public
  - make updates
  - make news
  - cp -v world/map/news.txt public/
  artifacts:
    paths:
    - public
  only:
  - web
  - pushes