Compare commits

...

2 Commits

Author SHA1 Message Date
6658a09918 pipeline update
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-01-25 20:26:21 +01:00
928347ee95 pipeline update
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
2026-01-25 16:19:55 +01:00
2 changed files with 11 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ steps:
commands:
- apk add --no-cache openssh-client sshpass
- mkdir -p /root/.ssh
- sshpass -p $DROPAREA_SSH_PASSWORD scp -o StrictHostKeyChecking=no -P $DROPAREA_PORT $GAME_NAME.$GAME_LANG $GAME_NAME.tic $GAME_NAME.html.zip $DROPAREA_USER@$DROPAREA_HOST:$DROPAREA_TARGET_PATH
- sshpass -p $DROPAREA_SSH_PASSWORD scp -o StrictHostKeyChecking=no -P $DROPAREA_PORT $GAME_NAME.$GAME_LANG $GAME_NAME.tic $GAME_NAME.html.zip $DROPAREA_USER@$DROPAREA_HOST:$DROPAREA_TARGET_PATH/$GAME_NAME/
- name: update
image: alpine

View File

@@ -46,8 +46,13 @@ export_assets: build
$(OUTPUT) > $(ASSETS_LUA)
export: build
@{ \
VERSION=$$(sed -n 's/^-- version: //p' $(OUTPUT) | head -n 1); \
echo "==> Exporting HTML for version $$VERSION"; \
mkdir -p "$$VERSION"; \
tic80 --cli --skip --fs=. \
--cmd="load $(OUTPUT) & save $(PROJECT) & export html $(PROJECT).html & exit"
--cmd="load $(OUTPUT) & save $(PROJECT) & export html $$VERSION/$(PROJECT).html & exit"; \
}
watch:
make build