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: