Fixing host verification stuff and things (skipping it)
This commit is contained in:
parent
f841af6bb2
commit
feee674e4f
1 changed files with 1 additions and 2 deletions
|
@ -31,8 +31,7 @@ jobs:
|
||||||
chmod 700 ~/.ssh
|
chmod 700 ~/.ssh
|
||||||
echo -e "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_foobar
|
echo -e "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_foobar
|
||||||
echo -e "${{ vars.SSH_PUBLIC_KEY }}" > ~/.ssh/id_foobar.pub
|
echo -e "${{ vars.SSH_PUBLIC_KEY }}" > ~/.ssh/id_foobar.pub
|
||||||
echo -e "${{ vars.SSH_PUBLIC_KEY }}" > ~/.ssh/known_hosts
|
|
||||||
chmod 600 ~/.ssh/*
|
chmod 600 ~/.ssh/*
|
||||||
- uses: actions/download-artifact@v3
|
- uses: actions/download-artifact@v3
|
||||||
- name: Send built pages to server
|
- name: Send built pages to server
|
||||||
run: rsync -rclthv --exclude .git --delete-after site/ ${{ vars.SSH_USER }}@${{ vars.SSH_HOST }}:${{ vars.SSH_PATH }}
|
run: rsync -e "ssh -o StrictHostKeyChecking=no" -rclthv --exclude .git --delete-after site/ ${{ vars.SSH_USER }}@${{ vars.SSH_HOST }}:${{ vars.SSH_PATH }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue