4
0

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

This commit is contained in:
2025-12-06 15:52:41 +01:00
parent 161390fb65
commit ae7a8921a0

View File

@@ -1,29 +1,39 @@
environment: environment:
GAME_NAME: bombexpert GAME_NAME: bombexpert
GAME_LANG: lua
steps: steps:
- name: build_tic - name: build
image: nesbox/devkitpro-tic80:latest image: rastasi/tic80pro:latest
environment: environment:
GAME_NAME: bombexpert GAME_NAME: bombexpert
commands: commands:
- tic80 -build $GAME_NAME.lua $GAME_NAME.tic - tic80 -build $GAME_NAME.$GAME_LANG $GAME_NAME.tic
- name: copy_files - name: artifact
image: alpine image: alpine
environment: environment:
DROPAREA_HOST: vps.teletype.hu
DROPAREA_PORT: 2223
DROPAREA_TARGET_PATH: /home/drop
DROPAREA_USER: drop
DROPAREA_SSH_PASSWORD: DROPAREA_SSH_PASSWORD:
from_secret: droparea_ssh_password from_secret: droparea_ssh_password
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 $GAME_NAME.lua $GAME_NAME.tic drop@vps.teletype.hu:/home/drop - sshpass -p $DROPAREA_SSH_PASSWORD \
scp -o StrictHostKeyChecking=no \
-P $DROPAREA_PORT \
$GAME_NAME.$GAME_LANG $GAME_NAME.tic \
$DROPAREA_USER@$DROPAREA_HOST:$DROPAREA_TARGET_PATH
- name: update_catalog - name: update
image: alpine image: alpine
environment: environment:
UPDATE_SERVER: https://games.vps.teletype.hu
UPDATE_SECRET: UPDATE_SECRET:
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 "$UPDATE_SERVER/update?secret=$UPDATE_SECRET"