From d6dfbe29711caedbf5f929d29ed2589a5f9b127b Mon Sep 17 00:00:00 2001 From: lukas Date: Thu, 27 Aug 2026 11:02:16 +0200 Subject: [PATCH] wip --- .gitea/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 7bf02de..d41e9d9 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -10,11 +10,16 @@ jobs: - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!" - run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}." + - name: Configure Git credentials + run: | + git config --global credential.helper store + git config --global credential.https://git.lukas-harat.com.username "${{ secrets.GIT_USERNAME }}" + printf "https://%s:%s@git.lukas-harat.com\n" \ + "${{ secrets.GIT_USERNAME }}" \ + "${{ secrets.GIT_TOKEN }}" > ~/.git-credentials + - name: Checkout uses: actions/checkout@v5 - with: - token: ${{ secrets.GIT_TOKEN }} - fetch-depth: 1 - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "🖥️ The workflow is now ready to test your code on the runner."