Skip to content

Commit

Permalink
Add tentative deploy to github releases
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95 committed Apr 2, 2018
1 parent 2552028 commit 11d8c5f
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,27 @@
sudo: required

services:
- docker

install:
- docker pull gamedrivendesign/godot-export

script:
- docker run -e EXPORT_NAME="HTML5" -e OUTPUT_FILENAME="index.html" -v $(pwd):/build/src -v /tmp/output:/build/output gamedrivendesign/godot-export
- docker run -e EXPORT_NAME="HTML5" -e OUTPUT_FILENAME="index.html" -v $(pwd):/build/src -v $(pwd)/output/html5:/build/output gamedrivendesign/godot-export
- docker run -e EXPORT_NAME="Linux/X11" -e OUTPUT_FILENAME="harederlage" -v $(pwd):/build/src -v $(pw)/output/linux:/build/output gamedrivendesign/godot-export

before_deploy:
- sudo mv /tmp/output/* ci/build
- zip harederlage-linux.zip output/linux/*

deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
local-dir: ci/build
- provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
local-dir: output/html5

- provider: releases
api-key: $GITHUB_TOKEN
file: harederlage-linux.zip
skip-cleanup: true
on:
tags: true

0 comments on commit 11d8c5f

Please sign in to comment.