Skip to content

Commit 9fd34d1

Browse files
dbieberclaude
andcommitted
Further clean up of build.yml
- Remove all remaining trailing whitespace - Reorder setup scripts to run setup_boot.sh after setup_wifi_ap.sh - Add newline at end of file 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 2514369 commit 9fd34d1

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,14 @@ jobs:
4848
steps:
4949
- name: Checkout code
5050
uses: actions/checkout@v4
51-
51+
5252
- name: Download web app build
5353
uses: actions/download-artifact@v4
5454
with:
5555
name: web-app-dist
5656
path: web-app-dist
5757
# /home/runner/work/GoNoteGo/GoNoteGo/web-app-dist
58-
58+
5959
- name: Verify web app download
6060
run: |
6161
echo "Checking contents of web-app-dist:"
@@ -77,14 +77,14 @@ jobs:
7777
commands: |
7878
echo "Updating package lists..."
7979
sudo apt-get update
80-
80+
8181
# Clean up apt cache to free up space
8282
sudo apt-get clean
8383
8484
echo "Installing dependencies!"
8585
sudo apt install -y git firefox-esr xvfb portaudio19-dev libatlas-base-dev redis-server espeak \
8686
rustc python3-dev libopenblas-dev iptables iptables-persistent nodejs npm
87-
87+
8888
# Clean up after installation
8989
sudo apt-get clean
9090
@@ -95,47 +95,47 @@ jobs:
9595
cd GoNoteGo
9696
# Checkout the specific commit
9797
git checkout $GITHUB_SHA
98-
98+
9999
# Make scripts executable
100100
chmod +x /home/pi/code/github/dbieber/GoNoteGo/.github/scripts/*.sh
101101
102102
echo "Including web app"
103103
echo "Checking web app files at /web-app-dist:"
104104
ls -la /web-app-dist
105-
105+
106106
echo "Creating settings-server directory:"
107107
mkdir -p /home/pi/code/github/dbieber/GoNoteGo/gonotego/settings-server/
108-
108+
109109
echo "Copying web app files:"
110110
cp -r /web-app-dist /home/pi/code/github/dbieber/GoNoteGo/gonotego/settings-server/dist
111-
111+
112112
echo "Verifying copied web app files:"
113113
ls -la /home/pi/code/github/dbieber/GoNoteGo/gonotego/settings-server/dist
114114
115115
# Setup Python environment
116116
echo "Setting up Python environment"
117117
python3 -m venv env
118118
./env/bin/pip install -e . # Install Python dependencies
119-
119+
120120
echo "Setting up Go Note Go:"
121121
cp gonotego/settings/secure_settings_template.py gonotego/settings/secure_settings.py
122122
echo "Manually edit secure_settings.py to configure your settings."
123-
123+
124124
mkdir -p /home/pi/secrets
125125
echo "Manually transfer secrets to /home/pi/secrets."
126-
126+
127127
# Ensure repository is owned by pi user instead of root
128128
chown -R pi:pi /home/pi/code/github/dbieber/GoNoteGo
129129
130-
# Setup system boot configuration
131-
bash /home/pi/code/github/dbieber/GoNoteGo/.github/scripts/setup_boot.sh
132-
133130
# Install geckodriver
134131
bash /home/pi/code/github/dbieber/GoNoteGo/.github/scripts/install_geckodriver.sh
135132
136133
# Set up a wifi access point
137134
bash /home/pi/code/github/dbieber/GoNoteGo/.github/scripts/setup_wifi_ap.sh
138135
136+
# Setup system boot configuration
137+
bash /home/pi/code/github/dbieber/GoNoteGo/.github/scripts/setup_boot.sh
138+
139139
# Setup bash history
140140
cat /home/pi/code/github/dbieber/GoNoteGo/.github/templates/bash_history >> /home/pi/.bash_history
141141
@@ -149,4 +149,4 @@ jobs:
149149
uses: actions/upload-artifact@v4
150150
with:
151151
name: Release image
152-
path: go-note-go.img.xz
152+
path: go-note-go.img.xz

0 commit comments

Comments
 (0)