Skip to content

Commit

Permalink
First test of github workflow upload
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrxyz committed Aug 31, 2024
1 parent 121d06f commit b8dd677
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 6 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
---
name: Upload files to mil.ufl.edu

# yamllint disable-line rule:truthy
on:
push:
branches:
- add-upload

jobs:
upload:
runs-on: self-hosted
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Upload files to web server
run: |
# Install lftp
sudo apt-get install -y lftp
# Upload web server contents
lftp -u mil,${{ secrets.MIL_UFL_SFTP_PASS }} \
-p ${{ secrets.MIL_UFL_SFTP_PORT }} sftp://mil.ufl.edu << EOF
mirror -c \
--exclude='^\..*$' \
--only-newer --ignore-time \
-R --parallel \
. \
htdocs
exit
EOF
13 changes: 7 additions & 6 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,13 @@
<tr>
<td>
<small>
The Machine Intelligence Laboratory (MIL) provides a
synergistic environment dedicated to the study and
development of intelligent, autonomous robots. The
faculty and students associated with the laboratory
conduct research in the theory and realization of
machine intelligence covering topics such as machine
hi from cameron :) The Machine Intelligence
Laboratory (MIL) provides a synergistic environment
dedicated to the study and development of
intelligent, autonomous robots. The faculty and
students associated with the laboratory conduct
research in the theory and realization of machine
intelligence covering topics such as machine
learning, real-time computer vision, statistical
modeling, robot kinematics, autonomous vehicles,
teleoperation and human interfaces, robot and
Expand Down

0 comments on commit b8dd677

Please sign in to comment.