Skip to content

Commit 0c05fbf

Browse files
committed
Rollback sftp-upload-action
1 parent bf70fc1 commit 0c05fbf

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,14 @@ jobs:
4949
name: website
5050

5151
- name: Upload to SFTP
52-
uses: wangyucode/sftp-upload-action@v2.0.4
52+
# fixed because latest has issues with removeExtraFilesOnServer
53+
uses: wangyucode/sftp-upload-action@v2.0.3
5354
with:
5455
host: ${{ secrets.UPLOAD_SFTP_HOST }}
5556
username: ${{ secrets.UPLOAD_SFTP_USERNAME }}
5657
password: ${{ secrets.UPLOAD_SFTP_PASSWORD }}
5758
compress: true
5859
localDir: ${{ github.workspace }}
5960
remoteDir: ${{ secrets.UPLOAD_SFTP_DIRECTORY }}
60-
exclude: "***/api,***/.htaccess"
61+
exclude: "/api/,/.htaccess"
6162
removeExtraFilesOnServer: true

0 commit comments

Comments
 (0)