From 3373f09827427f48f219386b14428905c1fc590a Mon Sep 17 00:00:00 2001 From: Zsolt Tasnadi Date: Wed, 5 Aug 2026 22:06:44 +0200 Subject: [PATCH] Rename the update step to publish --- .woodpecker.yaml | 4 ++-- Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 9dc4404..9239669 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -20,7 +20,7 @@ steps: - 'apk add --no-cache make curl' - 'make ci-artifact' - - name: update + - name: publish image: alpine environment: UPDATE_SERVER: https://teletypegames.org @@ -28,4 +28,4 @@ steps: from_secret: update_secret_key commands: - 'apk add --no-cache make curl' - - 'make ci-update' + - 'make ci-publish' diff --git a/Makefile b/Makefile index 6ad95b7..6267717 100644 --- a/Makefile +++ b/Makefile @@ -79,9 +79,9 @@ ci-artifact: "$(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=c64&version=$$VERSION" -.PHONY: all deps build run clear rebuild rebuildrun ci-version ci-build ci-artifact ci-update +.PHONY: all deps build run clear rebuild rebuildrun ci-version ci-build ci-artifact ci-publish