From 1d5d87cda9b97cd66abe683dab85466c2291e2a2 Mon Sep 17 00:00:00 2001 From: Cameron Brown Date: Sat, 31 Aug 2024 16:28:10 -0400 Subject: [PATCH] hopefully final? --- .github/workflows/upload.yaml | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) diff --git a/.github/workflows/upload.yaml b/.github/workflows/upload.yaml index 88d92f1..9256326 100644 --- a/.github/workflows/upload.yaml +++ b/.github/workflows/upload.yaml @@ -30,20 +30,12 @@ jobs: EOF lftp -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} \ -p ${{ secrets.MIL_UFL_SFTP_PORT }} sftp://mil.ufl.edu << EOF - ls + mirror -c \ + --include='.*' \ + --exclude='^\..*$' \ + --only-newer --ignore-time \ + -R --parallel --verbose=3 \ + . \ + htdocs exit EOF - # 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 - # . - # htdocs"