3 Commits

Author SHA1 Message Date
Bill Zimmerman
71990cec80 Increase swap before pi-gen action 2025-02-09 10:54:47 +01:00
Bill Zimmerman
a04fe39050 Update release.yml 2025-02-08 22:41:57 +01:00
Bill Zimmerman
9ac67e0ba4 Add raspi-config nonint do_wifi_country to 00-run-chroot 2025-02-08 22:41:18 +01:00

View File

@@ -1,3 +1,4 @@
name: Build and publish RaspAP images
permissions:
contents: write
@@ -30,6 +31,9 @@ jobs:
#!/bin/bash
apt-get update -y && apt-get install -y curl dhcpcd5 iptables procps
curl -sL https://raw.githubusercontent.com/billz/raspap-webgui/refs/heads/master/installers/raspbian.sh | bash -s -- --yes --openvpn 1 --restapi 1 --adblock 1 --wireguard 1 --tcp-bbr 1 --check 0
# Set Wi-Fi country to prevent RF kill
raspi-config nonint do_wifi_country "US"
EOF
} &&
chmod +x stage-raspap/package-raspap/00-run-chroot.sh &&
@@ -43,6 +47,14 @@ jobs:
} &&
chmod +x stage-raspap/prerun.sh
- name: Increase swap
run: |
sudo fallocate -l 4G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
free -h
- name: Build RaspAP Image
id: build
uses: usimd/pi-gen-action@v1