diff --git a/.gitea/workflows/build-and-push.yaml b/.gitea/workflows/build-and-push.yaml index 0a3ae74..2dde1e6 100644 --- a/.gitea/workflows/build-and-push.yaml +++ b/.gitea/workflows/build-and-push.yaml @@ -68,8 +68,13 @@ jobs: - name: Commit changes run: | + echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_ed25519 + chmod 600 ~/.ssh/id_ed25519 git config --local user.email "actions@noreply.dubyatp.xyz" git config --local user.name "actions[bot]" + git config --local user.signingkey ~/.ssh/id_ed25519 + git config --local gpg.format ssh + git config --local commit.gpgsign true git commit -a -m "yt-dlp-bot: deploy update to ${{ needs.build-and-push.outputs.sha_short }}" - name: Push changes