Skip to content

Commit 0ffb8e2

Browse files
authored
Merge pull request #6 from ASRG/claude/intelligent-leakey
Switch deploy to FTPS
2 parents f9f26ce + 72a3a1e commit 0ffb8e2

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,11 @@ jobs:
1616
rm -rf .git .github .claude .gitignore debug.html
1717
find . -name '*.md' -delete
1818
19-
- name: Deploy via SFTP (lftp mirror)
20-
run: |
21-
sudo apt-get update && sudo apt-get install -y lftp
22-
lftp -u "${{ secrets.SITEGROUND_USER }},${{ secrets.SITEGROUND_PASSWORD }}" \
23-
-p ${{ secrets.SITEGROUND_PORT }} \
24-
-e "set sftp:auto-confirm yes; set net:max-retries 3; mirror --reverse --delete --verbose . ${{ secrets.SITEGROUND_REMOTE_PATH }}; quit" \
25-
sftp://${{ secrets.SITEGROUND_HOST }}
19+
- name: Deploy via FTPS
20+
uses: SamKirkland/FTP-Deploy-Action@v4.3.5
21+
with:
22+
server: ${{ secrets.SITEGROUND_HOST }}
23+
username: ${{ secrets.SITEGROUND_FTP_USER }}
24+
password: ${{ secrets.SITEGROUND_FTP_PASSWORD }}
25+
protocol: ftps
26+
server-dir: ${{ secrets.SITEGROUND_REMOTE_PATH }}

0 commit comments

Comments
 (0)