From 5d2d31bd5cd74273f8cb01a42a3a9bf416b51449 Mon Sep 17 00:00:00 2001 From: Dominik Milacher Date: Fri, 13 Jun 2025 21:46:00 +0200 Subject: [PATCH] Bump --- .gitea/workflows/workflow.yaml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml index d275c2a..ca4f86f 100644 --- a/.gitea/workflows/workflow.yaml +++ b/.gitea/workflows/workflow.yaml @@ -15,9 +15,6 @@ jobs: uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 # whole history and tags, can refine this later - persist-credentials: false # don’t leave the HTTPS token in origin - ssh-key: ${{ secrets.GIT_SSH_KEY }} - ssh-strict: false - name: Setup node uses: https://github.com/actions/setup-node@v4 @@ -79,8 +76,12 @@ jobs: done - name: Update deployment tag + env: + GIT_HOST_NAME: ${{ secrets.GIT_HOST_NAME }} + GIT_REPO: ${{ secrets.GIT_REPO }} run: | # todo this could cause a race condition - git config user.name "CI" + git config user.name "CI Bot" git config user.email "ci@dominikmilacher.com" git tag -f last-deploy HEAD + git remote set-url origin git@"GIT_HOST_NAME":"GIT_REPO".git git push origin last-deploy --force \ No newline at end of file