From a9d9ae5b1cd1331e435fc3a8ac4818c8c13bb251 Mon Sep 17 00:00:00 2001 From: Dominik Milacher Date: Fri, 13 Jun 2025 22:27:32 +0200 Subject: [PATCH] Bump --- .gitea/workflows/workflow.yaml | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/workflow.yaml b/.gitea/workflows/workflow.yaml index 6aadcaf..009d3ec 100644 --- a/.gitea/workflows/workflow.yaml +++ b/.gitea/workflows/workflow.yaml @@ -11,10 +11,23 @@ jobs: runs-on: ubuntu-latest steps: + - name: Configure ssh + run: | + mkdir -p ~/.ssh + cat << 'EOF' > ~/.ssh/config + Host * + StrictHostKeyChecking no + UserKnownHostsFile=/dev/null + EOF + chmod 600 ~/.ssh/config + - name: Checkout uses: https://github.com/actions/checkout@v4 with: fetch-depth: 0 # whole history and tags, can refine this later + ssh-key: ${{ secrets.GIT_SSH_KEY }} + ssh-strict: false + persist-credentials: true - name: Setup node uses: https://github.com/actions/setup-node@v4 @@ -84,6 +97,6 @@ jobs: run: | # todo this could cause a race condition 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 + git tag -f deployed HEAD + #git remote set-url origin git@"$GIT_HOST_NAME":"$GIT_REPO".git + git push origin deployed --force \ No newline at end of file