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

This commit is contained in:
2026-08-05 22:06:39 +02:00
parent c72f3d036c
commit efbaa95348
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -54,7 +54,7 @@ steps:
- 'apk add --no-cache make curl'
- 'make ci-artifact'
- name: update
- name: publish
image: alpine
environment:
UPDATE_SERVER: https://teletypegames.org
@@ -62,4 +62,4 @@ steps:
from_secret: update_secret_key
commands:
- 'apk add --no-cache make curl'
- 'make ci-update'
- 'make ci-publish'
+2 -2
View File
@@ -291,9 +291,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=tic80&version=$$VERSION"
.PHONY: all build download-minify minify export binaries watch import_assets export_assets clean lint install_precommit_hook docs ci-version ci-lint ci-minify ci-docs ci-export ci-binaries ci-artifact ci-update
.PHONY: all build download-minify minify export binaries watch import_assets export_assets clean lint install_precommit_hook docs ci-version ci-lint ci-minify ci-docs ci-export ci-binaries ci-artifact ci-publish