From 6b8ecbfc8ae021d33d49f7900d0342ceab01369a Mon Sep 17 00:00:00 2001 From: servostar Date: Mon, 25 Nov 2024 14:30:27 +0000 Subject: [PATCH] ci: add origin remote (#101) Release-As: v0.5.3 Reviewed-on: https://git.montehaselino.de/DHBW/dhbw-abb-typst-template/pulls/101 Co-authored-by: servostar Co-committed-by: servostar --- .gitea/workflows/prepare.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/prepare.yml b/.gitea/workflows/prepare.yml index 0121ee7..636eec0 100644 --- a/.gitea/workflows/prepare.yml +++ b/.gitea/workflows/prepare.yml @@ -27,11 +27,12 @@ jobs: echo "==> Tagging for version: ${VERSION}" echo "::group::{Configure git credential store}" git config --global credential.helper store - echo "https://${USERNAME}:${{secrets.RELEASE_TOKEN}}}@${{github.repositoryUrl}}" > ~/.git-credentials + echo "https://${USERNAME}:${{secrets.RELEASE_TOKEN}}@git.montehaselino.de/DHBW/dhbw-abb-typst-template" > ~/.git-credentials echo "::endgroup::" echo "::group::{Configure git user identity}" git config --global user.name "${USERNAME}" git config --global user.email "${EMAIL}" + git remote set-url --push origin https://git.montehaselino.de/DHBW/dhbw-abb-typst-template echo "::endgroup::" echo "::group::{Modify metadata}" echo "==> Update typst.toml version"