blob: f6e21327bf661c467eaad44d831e7e5d9eb8c81e (
plain) (
tree)
|
|
sudo: false
dist: trusty
language: c
compiler: clang
addons:
apt:
packages:
- zlibc
env:
- UPDATE_DIR=../../../public UPDATE_HTTP=none
script:
- mkdir public
- make updates
- make news
- cp -v world/map/news.txt public/
- cp -v world/map/news.html 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:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
keep-history: false
local-dir: public
target-branch: gh-pages
on:
branch: stable
|