summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
new file mode 100644
index 00000000..aff1d127
--- /dev/null
+++ b/.gitlab-ci.yml
@@ -0,0 +1,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