Skip to content

Commit

Permalink
Deploy to paveloom.dev via Rsync.
Browse files Browse the repository at this point in the history
  • Loading branch information
paveloom committed Feb 24, 2024
1 parent 4986c6c commit cd269c2
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/Build & Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,7 @@ jobs:
https://paveloom.dev \
https://github.com/paveloom/paveloom.github.io"
- name: Deploy
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: public/
server-dir: paveloom.dev/public_html/
run: |
echo "${{ secrets.SSH_KEY }}" > ssh_key
rsync -avzh -e 'ssh -o StrictHostKeyChecking=no -i ssh_key' --delete-after \
public/ ${{ secrets.SSH_USERNAME }}@${{ secrets.SSH_HOST }}:${{ secrets.SSH_REMOTE_DIR }}

0 comments on commit cd269c2

Please sign in to comment.