Fix issue with drone ci build.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Dorian 2020-12-16 22:31:51 -05:00
parent c2726ce1a1
commit 210193c74a
3 changed files with 19 additions and 5 deletions

View File

@ -7,8 +7,10 @@ steps:
- name: build-game
image: barichello/godot-ci:3.2
commands:
- mkdir -v -p web-export
- godot -v --export "HTML5" ./web-export/index.html
- godot -v --export "HTML5" /export/index.html
volumes:
- name: game_export
path: /export
- name: upload-site
image: minio/mc
@ -16,6 +18,14 @@ steps:
MC_HOST_linode:
from_secret: linode-obj-host
commands:
- mc cp web-export/* linode/games-birch-tree-net/godot-html-js-integration-demo
- mc cp /export/* linode/games-birch-tree-net/godot-html-js-integration-demo
volumes:
- name: game_export
path: /export
depends:
- build-game
volumes:
- name: game_export
temp: {}

1
.gitignore vendored
View File

@ -13,3 +13,4 @@ data_*/
.idea/
web-export/
.vscode/

View File

@ -2,6 +2,9 @@
Demo of integrating a Godot HTML5 exported game with its host page.
## Credits
Uses a simple clicker game and a custom web shell to interact with the hosted
page.
* [Skiing Art by chasergaming on OpenGameArt.org](https://opengameart.org/content/art-challenge-skiing)
[Working demo page][demo]
demo: <https://games.birch-tree.net/godot-html-js-integration-demo/>