Files
puzzle-quest/releases/.drone.yml
T
2021-08-01 12:33:50 +02:00

71 lines
1.5 KiB
YAML

---
# For Development version
kind: pipeline
type: docker
name: DebugVersion
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
steps:
- name: WindowsDebug
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/windows
commands:
- godot --export "WindowsDebug" "releases/windows/${EXPORT_NAME}.exe"
- name: WindowsDeploy
image: barichello/godot-ci:3.3.2
volumes:
- name: binary
path: release/windows
commands:
- butler push ./release/windows $ITCHIO_USERNAME/$ITCHIO_GAME:linux
# - name: AndroidDebug
# image: devcrea/godot-ci:3.3.2-android
# commands:
# - apt-get update
# - apt-get install -y wget
# - wget -O /root/release.keystore https://u.pcloud.link/publink/show?code=XZzCwxXZoGFtYGSzBQHB5DPQQW15SuUczA97
# - sed 's@keystore/release=".*"@keystore/release="'/root/release.keystore'"@g' -i export_presets.cfg
# - sed 's@keystore/release_user=".*"@keystore/release_user="'$SECRET_RELEASE_KEYSTORE_USER'"@g' -i export_presets.cfg
# - sed 's@keystore/release_password=".*"@keystore/release_password="'$SECRET_RELEASE_KEYSTORE_PASSWORD'"@g' -i export_presets.cfg
# - godot --export "Android" "releases/android/${EXPORT_NAME}.apk"
trigger:
branch:
- dev
---
# For Production version
kind: pipeline
type: docker
name: ReleaseVersion
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
clone:
depth: 1
trigger:
branch:
- master