Update to test latest modules and prep for release (#567) #75
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build SquashFS Image | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- dev | |
- master | |
paths-ignore: | |
- 'neon_core/version.py' | |
- 'CHANGELOG.md' | |
jobs: | |
build_squashfs_image: | |
runs-on: 2222.us | |
steps: | |
- name: Checkout Debos Repository | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
lfs: True | |
repository: NeonGeckoCom/neon_debos | |
path: action/neon_debos | |
- name: Ensure LFS files are pulled | |
run: | | |
cd action/neon_debos | |
git lfs pull | |
cd ../.. | |
- name: Export keys for image build | |
run: | | |
mkdir -p action/neon_debos/overlays/80-google-json-overlay/home/neon/.local/share/neon | |
echo ${GOOGLE_KEY}>action/neon_debos/overlays/80-google-json-overlay/home/neon/.local/share/neon/google.json | |
env: | |
GOOGLE_KEY: ${{secrets.google_api_key}} | |
- name: Build and Export Mk2 Image | |
run: | | |
bash action/neon_debos/run_automation.sh debian-neon-image.yml ${{ github.ref_name }} /var/www/html/app/files/neon_images/pi/mycroft_mark_2 rpi4 mark_2 | |
- name: Build and Export OPi5 Image | |
run: | | |
bash action/neon_debos/run_automation.sh debian-neon-image.yml ${{ github.ref_name }} /var/www/html/app/files/neon_images/orange_pi_5/ opi5 opi5 |