From a14016dced22950a5c7836ad402abf22e5284040 Mon Sep 17 00:00:00 2001 From: Cameron Brown Date: Sat, 31 Aug 2024 16:07:17 -0400 Subject: [PATCH] more debugging --- .github/workflows/upload.yaml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml index 9e58e09..e7d794d 100644 --- a/.github/workflows/upload.yaml +++ b/.github/workflows/upload.yaml @@ -15,22 +15,22 @@ jobs: - name: Checkout uses: actions/checkout@v4 + - name: Install lftp + run: sudo apt-get install -y lftp + - name: Upload files to web server - 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; \ + run: > + 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"