Skip to content

WIP: mod: .github/workflows/build-rootfs.yml (devel/build/main) #90

WIP: mod: .github/workflows/build-rootfs.yml (devel/build/main)

WIP: mod: .github/workflows/build-rootfs.yml (devel/build/main) #90

Workflow file for this run

# YAML -*- mode: yaml; tab-width: 2; indent-tabs-mode: nil; coding: utf-8 -*-
---
name: Build in rootfs for arch
on: # yamllint disable-line rule:truthy
push:
jobs:
build:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4.1.1
with:
fetch-depth: 0
- id: describe
name: Describe HEAD
run: >-
echo "describe=$(git describe --tags --always || echo 0)"
| tee $GITHUB_OUTPUT
- id: build-docs
name: Build documentation once
run: |
mkdir -p _site
date > _site/index.html
- name: Upload pages artifact
id: deployment
uses: actions/upload-pages-artifact@v3.0.1
deploy:
needs: build
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4