diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index aa199c9..500e127 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -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"