Skip to content

Merge pull request #1055 from ramonacat/update_20241212041256 #2310

Merge pull request #1055 from ramonacat/update_20241212041256

Merge pull request #1055 from ramonacat/update_20241212041256 #2310

name: Build all the machines
on:
pull_request: ~
push:
branches:
- 'main'
jobs:
build:
runs-on: self-hosted
steps:
- name: Checkout the repo
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Extract branch name
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Setup ssh credentials
run: ./.github/scripts/credentials.sh
env:
LIX_REPO_TOKEN: "${{ secrets.LIX_REPO_TOKEN }}"
- name: put the SSH key in a file
run: echo "${{ secrets.SSH_KEY }}" > id_ed25519
- name: build all machines
run: ./.github/scripts/build.sh "${{ steps.extract_branch.outputs.branch }}"