diff --git a/.drone.yml b/.drone.yml index c58f959..eee38e9 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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: {} diff --git a/.gitignore b/.gitignore index 1b8e9b5..a489666 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ data_*/ .idea/ web-export/ +.vscode/ diff --git a/README.md b/README.md index d644ca4..c43309a 100644 --- a/README.md +++ b/README.md @@ -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: