Skip to content

Commit

Permalink
chmod private key
Browse files Browse the repository at this point in the history
  • Loading branch information
soerface committed Nov 11, 2024
1 parent afcf521 commit b5b900d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@ jobs:
mkdir -p ~/.ssh
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts
echo "${{ secrets.SSH_PRIVATE_KEY }}" > sftp_private_key.pem
chmod 600 sftp_private_key.pem
sftp -i sftp_private_key.pem -P ${{ secrets.SFTP_PORT }} -r ${{ secrets.SFTP_USERNAME }}@${{ secrets.SFTP_SERVER }} <<< $'put -r ./dist/* /apps.flipdot.org/'

0 comments on commit b5b900d

Please sign in to comment.