diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml index 9e58e09..a7a7a55 100644 --- a/.github/workflows/upload.yaml +++ b/.github/workflows/upload.yaml @@ -16,21 +16,21 @@ jobs: uses: actions/checkout@v4 - name: Upload files to web server - run: | + run: > # Install lftp sudo apt-get install -y lftp # Upload web server contents - lftp -c "open -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} \ - -p ${{ secrets.MIL_UFL_SFTP_PORT }} \ - sftp://mil.ufl.edu; \ + lftp -c "open -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} + -p ${{ secrets.MIL_UFL_SFTP_PORT }} + sftp://mil.ufl.edu; ls" - lftp -c "open -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} \ - -p ${{ secrets.MIL_UFL_SFTP_PORT }} \ - sftp://mil.ufl.edu; \ - mirror -c \ - --include='.*' \ - --exclude='^\..*$' \ - --only-newer --ignore-time \ - -R --parallel \ - . \ + lftp -c "open -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} + -p ${{ secrets.MIL_UFL_SFTP_PORT }} + sftp://mil.ufl.edu; + mirror -c + --include='.*' + --exclude='^\..*$' + --only-newer --ignore-time + -R --parallel + . htdocs"