mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 06:10:12 +01:00
[workflows] Remove ssh-agent
dependency (#18)
parent
7256bacea4
commit
86621ae93d
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user