-
Notifications
You must be signed in to change notification settings - Fork 55
33 lines (32 loc) · 1.08 KB
/
build_debos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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: git lfs pull action/neon_debos
- 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 Image
run: |
bash action/neon_debos/run_automation.sh debian-neon-image-rpi4.yml ${{ github.ref_name }} /var/www/html/app/files/neon_images/pi/mycroft_mark_2 ${{ github.ref_name }}