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: |
|
run: |
|
||||||
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \
|
docker-compose run --rm -v "${JOB_CONTAINER_NAME}:/site" -w /site \
|
||||||
jekyll build --verbose
|
jekyll build --verbose
|
||||||
- name: Load ssh key
|
- name: Prepare ssh key
|
||||||
id: load_ssh_key
|
id: prepare_ssh_key
|
||||||
#if: ${{ github.ref == 'main' }}
|
#if: ${{ github.ref == 'main' }}
|
||||||
run: |
|
run: |
|
||||||
echo "${{ secrets.WWW_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
echo "${{ secrets.WWW_DEPLOY_KEY }}" > ~/.ssh/id_ed25519
|
||||||
|
@ -54,5 +54,5 @@ jobs:
|
||||||
#if: ${{ github.ref == 'main' }}
|
#if: ${{ github.ref == 'main' }}
|
||||||
run: |
|
run: |
|
||||||
rsync -halvi \
|
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/
|
./_site/ www@lafs.eval.latfa.net:/var/www/site/
|
||||||
|
|
Loading…
Reference in New Issue