0
mirror of https://github.com/beagleboard/BeagleBadge.git synced 2026-07-05 02:00:07 +00:00
Files
BeagleBadge/.github/workflows/build.yml
Ayush Singh b6e009b7d5 Initial commit
- Minimal template required for new docs.

Signed-off-by: Ayush Singh <ayush@beagleboard.org>
2026-02-21 00:01:07 +05:30

40 lines
974 B
YAML

on:
pull_request:
branches: [ "main" ]
# Runs on pushes targeting the default branch
push:
branches: ['main']
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
lfs: true
- uses: actions/setup-node@v6
- name: Install dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y --no-install-recommends ruby-asciidoctor-pdf
npm install --quiet --no-progress
- name: Build preview
run: npx antora antora-playbook-local.yml --fetch --stacktrace
- name: Upload artifact
uses: actions/upload-pages-artifact@v4
with:
# Upload public folder
path: './build/site'
- name: Upload pdfs
uses: actions/upload-artifact@v6
with:
name: pdfs
path: build/assembler-pdf/*