Files
inkwell-demo/.woodpecker.yml
T
mr.zeroandClaude Fable 5 985f8e03ce
ci/woodpecker/push/woodpecker Pipeline was successful
pull: true a builder image stepekre (stale :latest cache fix)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-02 22:22:52 +02:00

46 lines
1.4 KiB
YAML

steps:
- name: version
image: alpine
commands:
- apk add --no-cache git make jq
- make ci-version
- name: build
image: git.teletypegames.org/internal/ebitengine-builder:latest
pull: true
commands:
# in CI clone the framework next to the workspace so it resolves.
- if grep -q '=> \.\./inkwell' go.mod; then git clone https://git.teletypegames.org/games/inkwell ../inkwell; fi
- make ci-export
- name: binaries
image: git.teletypegames.org/internal/ebitengine-builder:latest
pull: true
commands:
# önálló futáshoz is: ha a framework még nincs odaklónozva, pótoljuk
- if grep -q '=> \.\./inkwell' go.mod && [ ! -d ../inkwell ]; then git clone https://git.teletypegames.org/games/inkwell ../inkwell; fi
- make ci-binaries
- name: artifact
image: alpine
environment:
DROPAREA_HOST: vps.teletype.hu
DROPAREA_PORT: 2223
DROPAREA_TARGET_PATH: /home/drop
DROPAREA_USER: drop
DROPAREA_SSH_PASSWORD:
from_secret: droparea_ssh_password
commands:
- apk add --no-cache make openssh-client sshpass
- make ci-upload
- name: update
image: alpine
environment:
UPDATE_SERVER: https://teletypegames.org
UPDATE_SECRET:
from_secret: update_secret_key
commands:
- apk add --no-cache make curl
- make ci-update