more debugging #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Upload files to mil.ufl.edu | |
# yamllint disable-line rule:truthy | |
on: | |
push: | |
branches: | |
- add-upload | |
jobs: | |
upload: | |
runs-on: self-hosted | |
timeout-minutes: 4 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install lftp | |
run: sudo apt-get install -y lftp | |
- name: Upload files to web server | |
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" |