From 86621ae93d4be613227a0dc7b73e19d64527fcb9 Mon Sep 17 00:00:00 2001 From: bashonly <88596187+bashonly@users.noreply.github.com> Date: Fri, 24 Mar 2023 11:03:23 -0500 Subject: [PATCH] [workflows] Remove `ssh-agent` dependency (#18) --- .github/workflows/build.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8c2407d..f7b8d16 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,17 +10,11 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - name: Install SSH private key - if: "env.TOKEN != ''" - env: - TOKEN: ${{ secrets.TOKEN }} - uses: yt-dlp/ssh-agent@v0.5.3 - with: - ssh-private-key: ${{ env.TOKEN }} + ssh-key: ${{ secrets.TOKEN }} - name: Push to wiki - if: "env.TOKEN != ''" env: TOKEN: ${{ secrets.TOKEN }} + if: env.TOKEN != '' run: | git remote add upstream git@github.com:yt-dlp/yt-dlp.wiki git fetch upstream