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

77 lines
1.6 KiB
YAML

---
# Windows Development version
kind: pipeline
type: docker
name: WindowsDebugVersion
platform:
os: linux
arch: amd64
environment:
EXPORT_NAME: "Puzzle Quest"
BUTLER_API_KEY:
from_secret: BUTLER_API_KEY
ITCHIO_USERNAME:
from_secret: ITCHIO_USERNAME
ITCHIO_GAME:
from_secret: ITCHIO_GAME
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 "releases/windows" "${ITCHIO_USERNAME}/${ITCHIO_GAME}:windows"
# - 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