Skip to content

Use workflow template in CI #925

Use workflow template in CI

Use workflow template in CI #925

Workflow file for this run

on:
push:
branches: [main]
pull_request:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
jobs:
build-hugo-website:
uses: https://github.com/modelica/ma-hugo-theme/.github/workflow-templates/build-hugo-website.yml@f68cd5ef0ea651e00e45d607f2284ac68be6679e

Check failure on line 14 in .github/workflows/gh-pages.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/gh-pages.yml

Invalid workflow file

invalid value workflow reference: references to workflows must be rooted in '.github/workflows'
build:
runs-on: ubuntu-24.04
env:
HUGO_VERSION: 0.143.1
steps:
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0