Skip to content

Commit

Permalink
.github/workflows: Make upload.yaml work with npm/React conversion
Browse files Browse the repository at this point in the history
cbrxyz committed Oct 28, 2024
1 parent c0d6a26 commit e592073
Showing 2 changed files with 16 additions and 4 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/upload.yaml
Original file line number Diff line number Diff line change
@@ -4,8 +4,8 @@ name: Upload files to navigatoruf.org
# yamllint disable-line rule:truthy
on:
push:
branches:
- main
# branches:
# - main

jobs:
upload:
@@ -15,6 +15,18 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 'latest'
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Build site
run: npm run build && cd dist

- name: Install lftp
run: sudo apt-get install -y lftp sshpass

@@ -35,7 +47,7 @@ jobs:
--exclude='^\..*$' \
--exclude='README.md' \
-R --parallel --verbose \
. \
dist \
navigatoruf/htdocs
exit
EOF
2 changes: 1 addition & 1 deletion src/pages/Landing.js
Original file line number Diff line number Diff line change
@@ -42,7 +42,7 @@ function Mission() {
</svg>
</div>
<h3 className="text-xl font-medium mb-2">Robust Infrastructure</h3>
<p className="text-gray-600">NaviGator has multiple redundant systems, a strong and readily adaptable mechanical system (including both passive and active electronic cool components), several commercial off-the-shelf technology devices, many UF student-designed circuit boards, and rigorously simulated and tested software systems.</p>
<p className="text-gray-600">NaviGator has multiple redundant systems, a strong and readily adaptable mechanical system (including both passive and active electronic cool components), several commercial off-the-shelf technology devices, many UF student-designed circuit boards, and rigorously simulated and tested software systems!</p>
</div>
<div className="p-6 bg-gray-200 rounded-lg shadow-lg">
<div className="mb-4">

0 comments on commit e592073

Please sign in to comment.