Skip to content

Initial commit for Composite module. #509

Initial commit for Composite module.

Initial commit for Composite module. #509

Workflow file for this run

name: Pull Request tests
on:
pull_request:
types: [opened, synchronize]
jobs:
pull-request-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- uses: cachix/install-nix-action@v25
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- name: Install assets
run: nix develop --command bash -c "cd themes/hugo-darktable-docs-theme/assets/ && yarn install"
- name: Check for broken links
run: nix develop --command bash -c "hugo server --disableFastRender -verbose --config config.yaml -b http://localhost:1313/dtdocs/ & sleep 30 && lychee --exclude \.*pdf$ --exclude \.*epub$ --exclude \.*#$ --no-progress http://localhost:1313/dtdocs/index.html && pkill hugo"
- name: Generate translated files
run: nix develop --command bash -c "cd tools && bash generate-translations.sh --no-update"
- name: Clear
run: nix develop --command bash -c "rm -rf public"
- name: Build
run: nix develop --command bash -c "hugo"