Skip to content

Merge pull request #35 from dvla/feature/experimenting-with-rag-llm #97

Merge pull request #35 from dvla/feature/experimenting-with-rag-llm

Merge pull request #35 from dvla/feature/experimenting-with-rag-llm #97

Workflow file for this run

name: github pages
on:
workflow_dispatch:
push:
branches:
- master
pull_request:
permissions:
contents: write
pages: write
id-token: write
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v3
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
# should use latest but there is an issue rendering <span> in the index
# https://github.com/dvla/dvla.github.io/issues/22
hugo-version: "0.119.0"
# extended: true
- name: Build
run: |
hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
allow_empty_commit: true
# force_orphan: true