We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf70fc1 commit 0c05fbfCopy full SHA for 0c05fbf
1 file changed
.github/workflows/deploy.yml
@@ -49,13 +49,14 @@ jobs:
49
name: website
50
51
- name: Upload to SFTP
52
- uses: wangyucode/sftp-upload-action@v2.0.4
+ # fixed because latest has issues with removeExtraFilesOnServer
53
+ uses: wangyucode/sftp-upload-action@v2.0.3
54
with:
55
host: ${{ secrets.UPLOAD_SFTP_HOST }}
56
username: ${{ secrets.UPLOAD_SFTP_USERNAME }}
57
password: ${{ secrets.UPLOAD_SFTP_PASSWORD }}
58
compress: true
59
localDir: ${{ github.workspace }}
60
remoteDir: ${{ secrets.UPLOAD_SFTP_DIRECTORY }}
- exclude: "***/api,***/.htaccess"
61
+ exclude: "/api/,/.htaccess"
62
removeExtraFilesOnServer: true
0 commit comments