2020-12-15 23:18:27 -05:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: godot-html-js-int-demo
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: build-game
|
|
|
|
image: barichello/godot-ci:3.2
|
|
|
|
commands:
|
2020-12-16 22:31:51 -05:00
|
|
|
- godot -v --export "HTML5" /export/index.html
|
|
|
|
volumes:
|
|
|
|
- name: game_export
|
|
|
|
path: /export
|
2020-12-15 23:18:27 -05:00
|
|
|
|
|
|
|
- name: upload-site
|
2021-03-15 23:45:01 -04:00
|
|
|
image: drillster/drone-rsync
|
|
|
|
settings:
|
|
|
|
user:
|
|
|
|
from_secret: ssh-username
|
|
|
|
key:
|
|
|
|
from_secret: ssh-key
|
|
|
|
hosts: [ "birch-tree.net" ]
|
|
|
|
source: /godot-html-js-integration-demo
|
|
|
|
target: /srv/supply-depot/games-birch-tree-net/www
|
|
|
|
recursive: true
|
|
|
|
args: "--chown=www-data:www-data"
|
2020-12-16 22:31:51 -05:00
|
|
|
volumes:
|
|
|
|
- name: game_export
|
2020-12-16 22:41:10 -05:00
|
|
|
path: /godot-html-js-integration-demo
|
2021-03-15 23:45:01 -04:00
|
|
|
depends_on:
|
2020-12-15 23:18:27 -05:00
|
|
|
- build-game
|
2020-12-16 22:31:51 -05:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
- name: game_export
|
|
|
|
temp: {}
|