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 108498d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
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"
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
.
htdocs"

0 comments on commit 108498d

Please sign in to comment.