Skip to content

Commit

Permalink
Update Deploy_web_site_with_ssh.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
SaillantNicolas authored Jul 17, 2023
1 parent 27cbc86 commit 4e40ccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/Deploy_web_site_with_ssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- name: install ssh keys
run: |
install -m 600 -D /dev/null ~/.ssh/id_rsa
echo "${{ secrets.CGAL_WEB_SFTP_SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
ssh-keyscan -H ${{ vars.CGAL_WEB_SFTP_HOST }} > ~/.ssh/known_hosts
- name: rsync
run: rsync -avz ./_site/ ${{ secrets.CGAL_WEB_SFTP_USERNAME }}@${{ vars.CGAL_WEB_SFTP_HOST }}:${{ vars.CGAL_WEB_SFTP_DESTDIR }}
Expand Down

0 comments on commit 4e40ccc

Please sign in to comment.