diff --git a/.woodpecker.yaml b/.woodpecker.yaml index fed9e51..e7accac 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -20,7 +20,7 @@ steps: - apk add --no-cache make curl - make ci-upload - - 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 7c8f484..d12cb72 100644 --- a/Makefile +++ b/Makefile @@ -70,8 +70,8 @@ ci-upload: "$(UPDATE_SERVER)/build/upload?name=$(PROJECT)&version=$$VERSION" || exit 1; \ done -ci-update: +ci-publish: @VERSION=$$(cat $(VERSION_FILE)); \ curl -fsS -X POST -H "X-Update-Secret: $(UPDATE_SECRET)" "$(UPDATE_SERVER)/build/publish?name=$(PROJECT)&platform=phaser&version=$$VERSION" -.PHONY: all build web serve dev export watch clean ci-version ci-export ci-upload ci-update +.PHONY: all build web serve dev export watch clean ci-version ci-export ci-upload ci-publish