Adding config for identity:list_users #2830
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Build documentation | |
# Setup and build files with hugo | |
# https://github.com/peaceiris/actions-hugo | |
on: [pull_request] | |
jobs: | |
build: | |
name: Build with Hugo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Fetch the Docsy theme | |
submodules: recursive | |
# Fetch all history for .GitInfo and .Lastmod | |
fetch-depth: 0 | |
- name: Get Hugo version | |
id: hugo_version | |
uses: juliangruber/read-file-action@v1 | |
with: | |
path: .github/workflows/hugo_version.txt | |
- name: Setup Hugo | |
uses: peaceiris/actions-hugo@v2 | |
with: | |
hugo-version: "${{ steps.hugo_version.outputs.content }}" | |
extended: true | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "lts/*" | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install npm project with a clean slate | |
run: npm ci | |
- name: Build and minify using Hugo | |
run: hugo --minify |