From 83ca189fc91c9c44fe216eb276ba5949da872dac Mon Sep 17 00:00:00 2001 From: Benoit Donneaux Date: Thu, 23 May 2024 21:30:07 +0200 Subject: [PATCH] Fix ssh key arg Signed-off-by: Benoit Donneaux --- .gitea/workflows/jekyll.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/jekyll.yaml b/.gitea/workflows/jekyll.yaml index 8a2ef55..1f06552 100644 --- a/.gitea/workflows/jekyll.yaml +++ b/.gitea/workflows/jekyll.yaml @@ -43,8 +43,8 @@ jobs: run: | docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \ jekyll build --verbose - - name: Load ssh key - id: load_ssh_key + - name: Prepare ssh key + id: prepare_ssh_key #if: ${{ github.ref == 'main' }} run: | echo "${{ secrets.WWW_DEPLOY_KEY }}" > ~/.ssh/id_ed25519 @@ -54,5 +54,5 @@ jobs: #if: ${{ github.ref == 'main' }} run: | rsync -halvi \ - -e "ssh -e ~/.ssh/id_ed25519 -a -x -o StrictHostKeyChecking=no" \ + -e "ssh -a -x -o StrictHostKeyChecking=no" \ ./_site/ www@lafs.eval.latfa.net:/var/www/site/