From 1de88c00b80aefc076ef465cbe7aa80abf5385ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Ke=C3=9Fler?= Date: Wed, 18 Oct 2023 09:55:28 +0200 Subject: [PATCH] rename deploy key variable --- .ci/configure_git.sh | 2 +- .gitea/workflows/build.yaml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/configure_git.sh b/.ci/configure_git.sh index 3789bb6..51e7ade 100755 --- a/.ci/configure_git.sh +++ b/.ci/configure_git.sh @@ -1,6 +1,6 @@ set -e eval $(ssh-agent -s) -echo "$GITLAB_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null +echo "$SSH_DEPLOY_KEY" | base64 -d | tr -d '\r' | ssh-add - > /dev/null mkdir -p ~/.ssh chmod 700 ~/.ssh diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 7e7170c..10eaac3 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,6 +9,8 @@ jobs: uses: actions/checkout@v4 - name: Setup git credentials and committer run: .ci/configure_git.sh + env: + SSH_DEPLOY_KEY: ${{ secrets.ssh_deploy_key }} - name: Clone build repository uses: actions/checkout@v4 with: