From 9df2ecd29ed4af1265386f26892649bb71d57f31 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Mon, 2 Oct 2023 22:20:48 +0200 Subject: [PATCH] [wip] gitea actions --- .gitea/workflows/build.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index b2d63d1..3d5ea87 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -10,7 +10,7 @@ jobs: - run: | mkdir -p ~/.ssh eval $(ssh-agent -s) - echo "$SSH_PRIV_KEY" | tr -d '\r' | ssh-add - + echo "${{ secrets.SSH_PRIVATE_KEY }}" | tr -d '\r' | ssh-add - echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config - run: | git config --global user.email ci@gitnet.fr @@ -21,7 +21,7 @@ jobs: - run: | git status git add . - git commit -m "Build ${CI_BUILD_NUMBER}" || true + git commit -m "Build ${{ gitea.job }}" || true git remote add repo git@gitnet.fr:deblan/.profile.git - git push repo main || true + #git push repo main || true