Skip to content

Commit

Permalink
updated release step
Browse files Browse the repository at this point in the history
  • Loading branch information
JavanXD committed Dec 20, 2023
1 parent 25d6c2d commit aa445fc
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,19 @@ on:

jobs:
rpi-image:
name: "Build image"
name: "Build 🍯-🐝-Image"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4.1.1

# install dependencies
- name: Install dependencies
- name: 🔽 Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y coreutils quilt parted qemu-utils qemu-user-static debootstrap zerofree zip dosfstools libarchive-tools libcap2-bin grep rsync xz-utils file git curl bc
# build image
- name: Build
- name: 🚧 Build
run: |
git clone https://github.com/RPi-Distro/pi-gen pi-gen
cd pi-gen && git fetch && git fetch --tags
Expand All @@ -30,16 +30,16 @@ jobs:
sudo mv ./deploy/*.zip ./deploy/HoneyPi.zip
sudo chown -fR $(stat -c "%U:%G" .) ./deploy
# delete previous releases
- name: Delete previous releases
uses: dev-drprasad/delete-older-releases@v0.1.0
- name: 🗑️ Delete previous releases
uses: dev-drprasad/delete-older-releases@v0.3.2
with:
keep_latest: 0
delete_tags: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# create release and upload image
- name: Create release and upload image
uses: svenstaro/upload-release-action@2.2.0
- name: 🚀 Create release and upload image
uses: svenstaro/upload-release-action@2.7.0
with:
repo_token: ${{ secrets.GITHUB_TOKEN }}
file: pi-gen/deploy/HoneyPi.zip
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ This build script uses the official Pi-Gen build script (https://github.com/RPi-
1. [Download latest release](https://github.com/Honey-Pi/HoneyPi-Build-Raspbian/releases)
2. Burn image on sd card
3. Power on your Pi, after your first boot it does automatically reboot, wait some time after the boot. The HoneyPi services are automatically starting.
4. Press the hardware button connected to your Raspberry Pi to start the 'HoneyPi'-AccessPoint or connect your Raspberry to your WiFi.
4. Press the hardware button connected to your Raspberry Pi to start the 'HoneyPi'-AccessPoint (IP: `192.168.4.1`, WiFi-Password: `HoneyPi!`) or connect your Raspberry to your Homenetwork-WiFi.
5. Visit with your browser http://IpOfYourPi/ or http://honeypi.local/ for further configuration.
6. Have fun!
6. More information on controlling the software can be found in the [main repo](https://github.com/Honey-Pi/HoneyPi). The default SSH password in this pre-built HoneyPi image is `hivescale`.
7. Have fun!

## Development

Expand Down
3 changes: 2 additions & 1 deletion clean.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
rm -R pi-gen
docker rm -v pigen_work
docker container stop pigen_work
docker rm -v --force pigen_work

0 comments on commit aa445fc

Please sign in to comment.