4
0
Files
bombexpert/.woodpecker.yml
Zsolt Tasnadi 985193b89f
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
pipeline fix
2025-12-06 14:32:40 +01:00

31 lines
874 B
YAML

environment:
GAME_NAME: bombexpert
steps:
- name: build_tic
image: alpine
commands:
- apk add --no-cache bash curl wget xz
- wget -q https://tic80.com/bin/linux/tic80
- chmod +x tic80
- ./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"