add CI/CD pipeline tooling (Makefile, Woodpecker, metadata)
ci/woodpecker/manual/woodpecker Pipeline was successful
ci/woodpecker/manual/woodpecker Pipeline was successful
Adapted from tools_build/phaser-tools for the Vite + TypeScript setup: the web bundle comes from npm ci + npm run build instead of source concatenation, otherwise the standard ci-version/ci-export/ci-upload/ ci-update flow applies (platform=phaser). Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
steps:
|
||||
- name: version
|
||||
image: alpine
|
||||
commands:
|
||||
- apk add --no-cache git make jq
|
||||
- make ci-version
|
||||
|
||||
- name: build
|
||||
image: git.teletypegames.org/internal/phaser-builder:latest
|
||||
commands:
|
||||
- make ci-export
|
||||
|
||||
- name: upload
|
||||
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
|
||||
Reference in New Issue
Block a user