From 7b0e371e44ff5452901684d69ab9b936d5ac76fa Mon Sep 17 00:00:00 2001 From: HackerNCoder Date: Fri, 25 Nov 2022 18:38:51 +0000 Subject: [PATCH] Attempt to use dev.queerscriptors.org when on dev --- .woodpecker.yml | 6 ++++++ templates/layout.html | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 165afdb..1157767 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -1,4 +1,10 @@ pipeline: + prepare-dev: + image: debian + commands: + - sed -i -r -e 's/queerscriptors\.org/dev\.queerscriptors\.org/g' website.lektorproject + when: + branch: dev build: image: python:3.8-bullseye commands: diff --git a/templates/layout.html b/templates/layout.html index e3c186c..310db33 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -4,7 +4,7 @@ - + @@ -31,6 +31,6 @@ {% block page %}{% endblock %} -{% include 'footer.html' %} +{% include 'footer.html' %}