4
0
Files
bombexpert/.woodpecker.yml
Zsolt Tasnadi 420dd71423
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
pipeline fix
2025-12-06 14:34:49 +01:00

30 lines
813 B
YAML

environment:
GAME_NAME: bombexpert
steps:
- name: build_tic
image: tic80/tic80:latest
environment:
GAME_NAME: bombexpert
commands:
- ./tic80 -build $GAME_NAME.lua $GAME_NAME.tic
- name: copy_files
image: alpine
environment:
DROPAREA_SSH_PASSWORD:
from_secret: droparea_ssh_password
commands:
- apk add --no-cache openssh-client sshpass
- mkdir -p /root/.ssh
- sshpass -p $DROPAREA_SSH_PASSWORD scp -o StrictHostKeyChecking=no -P 2223 $GAME_NAME.lua $GAME_NAME.tic drop@vps.teletype.hu:/home/drop
- name: update_catalog
image: alpine
environment:
UPDATE_SECRET:
from_secret: update_secret_key
commands:
- apk add --no-cache curl
- curl "https://games.vps.teletype.hu/update?secret=$UPDATE_SECRET"