4
0

pipeline fix
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2025-12-06 14:32:40 +01:00
parent 0459b2e6e5
commit 985193b89f

View File

@@ -1,5 +1,16 @@
environment:
GAME_NAME: bombexpert
steps: steps:
- name: copy_file - 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 image: alpine
environment: environment:
DROPAREA_SSH_PASSWORD: DROPAREA_SSH_PASSWORD:
@@ -7,7 +18,8 @@ steps:
commands: commands:
- apk add --no-cache openssh-client sshpass - apk add --no-cache openssh-client sshpass
- mkdir -p /root/.ssh - mkdir -p /root/.ssh
- sshpass -p $DROPAREA_SSH_PASSWORD scp -o StrictHostKeyChecking=no -P 2223 bombexpert.lua drop@vps.teletype.hu:/home/drop - 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 - name: update_catalog
image: alpine image: alpine
environment: environment:
@@ -15,4 +27,4 @@ steps:
from_secret: update_secret_key from_secret: update_secret_key
commands: commands:
- apk add --no-cache curl - apk add --no-cache curl
- curl https://games.vps.teletype.hu/update?secret=$UPDATE_SECRET - curl "https://games.vps.teletype.hu/update?secret=$UPDATE_SECRET"