Skip to content

Commit

Permalink
more debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Aug 31, 2024
1 parent 95c57d8 commit 2282363
Showing 1 changed file with 18 additions and 13 deletions.
31 changes: 18 additions & 13 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,26 @@ 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 -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} \
-p ${{ secrets.MIL_UFL_SFTP_PORT }} sftp://mil.ufl.edu << EOF
ls
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 \
. \
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"

0 comments on commit 2282363

Please sign in to comment.