From 7f0fbc0ab176a29fc06ffec5faa648fe4577c719 Mon Sep 17 00:00:00 2001 From: donniean Date: Wed, 18 Sep 2024 15:03:48 +0800 Subject: [PATCH] ci: add ssh to sync-to-kse.yml Signed-off-by: donniean --- .github/workflows/sync-to-kse.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/sync-to-kse.yml b/.github/workflows/sync-to-kse.yml index 21f8f312488..85b486d4ffc 100644 --- a/.github/workflows/sync-to-kse.yml +++ b/.github/workflows/sync-to-kse.yml @@ -29,6 +29,12 @@ jobs: echo "NOW=$(TZ='Asia/Shanghai' date '+%Y%m%d-%H%M%S')" >> $GITHUB_ENV echo "DISPLAY_NOW=$(TZ='Asia/Shanghai' date '+%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV + - name: Setup SSH + uses: MrSquaare/ssh-setup-action@v3 + with: + host: github.com + private-key: ${{ secrets.SSH_PRIVATE_KEY }} + - name: Checkout Source uses: actions/checkout@v4