Rename the update step to publish
ci/woodpecker/push/woodpecker Pipeline is pending

This commit is contained in:
2026-08-05 22:06:27 +02:00
parent e8c99c1c52
commit a8127d971e
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -20,7 +20,7 @@ steps:
- 'apk add --no-cache make curl' - 'apk add --no-cache make curl'
- 'make ci-artifact' - 'make ci-artifact'
- name: update - name: publish
image: alpine image: alpine
environment: environment:
UPDATE_SERVER: https://teletypegames.org UPDATE_SERVER: https://teletypegames.org
@@ -28,4 +28,4 @@ steps:
from_secret: update_secret_key from_secret: update_secret_key
commands: commands:
- 'apk add --no-cache make curl' - 'apk add --no-cache make curl'
- 'make ci-update' - 'make ci-publish'
+2 -2
View File
@@ -79,9 +79,9 @@ ci-artifact:
"$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \ "$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \
done done
ci-update: ci-publish:
@VERSION=$$(cat $(VERSION_FILE)); \ @VERSION=$$(cat $(VERSION_FILE)); \
echo "==> Triggering update for version $$VERSION"; \ 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" 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