From 95fc84b9a35810608d51b5b932441d8fd67f9e7c Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Wed, 5 Aug 2026 22:06:37 +0200 Subject: [PATCH] Rename the update step to publish --- .woodpecker.yml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 5297e77..6062c24 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -29,7 +29,7 @@ steps: - 'apk add --no-cache make curl' - 'make ci-upload' - - name: update + - name: publish image: alpine environment: UPDATE_SERVER: https://teletypegames.org @@ -37,4 +37,4 @@ steps: from_secret: update_secret_key commands: - 'apk add --no-cache make curl' - - 'make ci-update' \ No newline at end of file + - 'make ci-publish' \ No newline at end of file diff --git a/Makefile b/Makefile index 4486ddb..27bce45 100644 --- a/Makefile +++ b/Makefile @@ -149,10 +149,10 @@ ci-upload: "$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \ done -ci-update: +ci-publish: @VERSION=$$(cat $(VERSION_FILE)); \ echo "==> Triggering update for version $$VERSION"; \ curl -fsS -X POST -H "X-Update-Secret: $(UPDATE_SECRET)" "$(UPDATE_SERVER)/build/publish?name=$(PROJECT)&platform=tic80&version=$$VERSION" -.PHONY: all build export binaries watch import_assets export_assets clean ci-version ci-export ci-binaries ci-upload ci-update +.PHONY: all build export binaries watch import_assets export_assets clean ci-version ci-export ci-binaries ci-upload ci-publish