From 4ca3ca71b2901217201922e621149348c2d18f21 Mon Sep 17 00:00:00 2001 From: GeorgeWebberley Date: Mon, 26 Jan 2026 10:56:19 +0100 Subject: [PATCH] Updated cicd to use on release --- .woodpecker.yaml | 6 +++--- site/surveyapp/templates/main/index.html | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 10c06ca..42615f2 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,6 +1,6 @@ when: - event: [push] - branch: main + - event: tag + - event: release steps: build-and-push: @@ -12,7 +12,7 @@ steps: repo: git.georgew.dev/georgew/datasaur tags: - latest - - ${CI_COMMIT_SHA:0:7} + - ${CI_COMMIT_TAG##v} dockerfile: Dockerfile username: from_secret: FORGEJO_USER diff --git a/site/surveyapp/templates/main/index.html b/site/surveyapp/templates/main/index.html index 6624b38..1f66e40 100644 --- a/site/surveyapp/templates/main/index.html +++ b/site/surveyapp/templates/main/index.html @@ -23,7 +23,7 @@ {% else %}
Sign up today! + title="Go to registration page">Sign up today
Already have an account? Login