Skip to content

Commit

Permalink
Update Google credential handling
Browse files Browse the repository at this point in the history
Update automation to remove testing changes
  • Loading branch information
NeonDaniel committed Aug 8, 2023
1 parent 63d275b commit 2449d7b
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/build_debos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ name: Build SquashFS Image
on:
workflow_dispatch:
push:
# TODO: Replace branches spec after validating build
# branches:
# - dev
# - master
branches:
- dev
- master
paths-ignore:
- 'neon_core/version.py'
- 'CHANGELOG.md'
Expand All @@ -17,13 +16,15 @@ jobs:
- name: Checkout Debos Repository
uses: actions/checkout@v2
with:
ref: FEAT_CoreAutomation # ${{ github.ref }} TODO: Testing
ref: ${{ github.ref }}
repository: NeonGeckoCom/neon_debos
path: 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 "${{secrets.google_api_key}}">action/neon_debos/overlays/80-google-json-overlay/home/neon/.local/share/neon/google.json
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 dev /var/www/html/app/files/neon_images/pi/automation # ${{ github.ref }} TODO: Testing
bash action/neon_debos/run_automation.sh debian-neon-image-rpi4.yml dev /var/www/html/app/files/neon_images/pi/automation ${{ github.ref }}

0 comments on commit 2449d7b

Please sign in to comment.