Fix ssh key arg
Jekyll / jekyll (pull_request) Successful in 19s
Details
Jekyll / jekyll (pull_request) Successful in 19s
Details
Signed-off-by: Benoit Donneaux <benoit@leastauthority.com>
This commit is contained in:
parent
2acc2b4346
commit
83ca189fc9
|
@ -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/
|
||||
|
|
Loading…
Reference in New Issue