-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 967 Bytes
/
doc.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: documentation
permissions:
contents: write
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
paths:
- doc/**
jobs:
docs:
runs-on: ubuntu-latest
name: Genreate doc files
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Nix
uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
experimental-features = nix-command flakes
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- name: Setup | Git
run: |
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
- name: Build | Doc generate
run: nix develop --command just readme
- name: Post | Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "chore(readme): auto-generate readme"