更新 .gitea/workflows/build.yaml

This commit is contained in:
cxykevin 2024-06-25 22:46:50 +08:00
parent ac368af3f9
commit 7296bcd7c4
1 changed files with 3 additions and 1 deletions

View File

@ -75,4 +75,6 @@ jobs:
echo "# ls dist"
ls dist
- name: Upload
run: lftp ${{ secrets.FTP_IP }} -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASSWD }} -e "mirror -R dist dist"
run: |
mv dist index
lftp ${{ secrets.FTP_IP }} -u ${{ secrets.FTP_USER }},${{ secrets.FTP_PASSWD }} -e "mirror -R index index"