From 708c9307409dc1155834884b31afe7353754339b Mon Sep 17 00:00:00 2001 From: vanten-s Date: Sun, 21 Jul 2024 23:10:05 +0200 Subject: [PATCH] Test --- .forgejo/workflows/test.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.forgejo/workflows/test.yaml b/.forgejo/workflows/test.yaml index 7b619a2..ab767b8 100644 --- a/.forgejo/workflows/test.yaml +++ b/.forgejo/workflows/test.yaml @@ -8,9 +8,8 @@ jobs: - run: apk add hugo - run: apk add git - run: apk add openssh - - run: mkdir .ssh - - run: echo "${{ secrets.KEY }}" > .ssh/id_ed25519 - - run: chmod go-r .ssh/id_ed25519 - run: git clone https://forgejo.vanten-s.com/vanten-s/vanten-s.com src - run: hugo -s src - - run: scp -P 24 -i .ssh/id_ed25519 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/ + - run: eval $(ssh-agent -s) + - run: echo "${{ secrets.KEY }}" | ssh-add - + - run: scp -P 24 -r src/public svante@vanten-s.com:nginx-docker/vanten-s.com/