diff options
author | gumi <git@gumi.ca> | 2019-07-24 14:15:42 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-07-24 14:15:42 -0400 |
commit | 17744086c452e23bf1077acc3bdf806eb19751f4 (patch) | |
tree | 061f3e05a8dee24c76aabf96f3e532ba12e5b2d2 | |
parent | 590cc2216476085cd7193e81f83fc99bb5c93a61 (diff) | |
download | classic-serverdata-17744086c452e23bf1077acc3bdf806eb19751f4.tar.gz classic-serverdata-17744086c452e23bf1077acc3bdf806eb19751f4.tar.bz2 classic-serverdata-17744086c452e23bf1077acc3bdf806eb19751f4.tar.xz classic-serverdata-17744086c452e23bf1077acc3bdf806eb19751f4.zip |
add news.json and news.rss as ci artifacts
-rw-r--r-- | .gitlab-ci.yml | 3 | ||||
-rw-r--r-- | .travis.yml | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cb15999..ae6566a3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,6 +21,9 @@ pages: - make updates - make news - cp -v world/map/news.txt public/ + - cp -v world/map/news.html public/ + - cp -v world/map/news.rss public/ + - cp -v world/map/news.json public/ - echo '<title>static update server</title><a href="TMW.zip">TMW.zip</a><br><a href="TMW-music.zip">TMW-music.zip</a><br><a href="news.txt">news.txt</a><br><a href="resources.xml">resources.xml</a>' > public/index.html # path for legacy compatibility - mkdir -p public/updates diff --git a/.travis.yml b/.travis.yml index f6e21327..a2cea500 100644 --- a/.travis.yml +++ b/.travis.yml @@ -17,6 +17,8 @@ script: - make news - cp -v world/map/news.txt public/ - cp -v world/map/news.html public/ + - cp -v world/map/news.rss public/ + - cp -v world/map/news.json public/ - echo '<title>static update server</title><a href="TMW.zip">TMW.zip</a><br><a href="TMW-music.zip">TMW-music.zip</a><br><a href="news.txt">news.txt</a><br><a href="resources.xml">resources.xml</a>' > public/index.html deploy: |