Skip to content

Use built frontend from frontend repo #190

Use built frontend from frontend repo

Use built frontend from frontend repo #190

Workflow file for this run

name: Build landingpage
on:
pull_request:
branches: ["main"]
release:
types: ["published"]
jobs:
build:
name: Build landingpage
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
id-token: write
strategy:
matrix:
machine:
- generic-x86-64
- intel-nuc
- khadas-vim3
- odroid-c2
- odroid-c4
- odroid-m1
- odroid-n2
- odroid-xu
- qemuarm
- qemuarm-64
- qemux86
- qemux86-64
- raspberrypi
- raspberrypi2
- raspberrypi3
- raspberrypi3-64
- raspberrypi4
- raspberrypi4-64
- raspberrypi5-64
- tinker
- yellow
- green
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Login to GitHub Container Registry
if: github.event_name == 'release'
uses: docker/[email protected]
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Set build arguments
if: github.event_name != 'release'
run: echo "BUILD_ARGS=--test" >> $GITHUB_ENV
- name: Build landingpage
uses: home-assistant/[email protected]
with:
args: |
$BUILD_ARGS \
--target /data \
--no-latest \
--cosign \
--machine landingpage=${{ matrix.machine }}