-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (33 loc) · 829 Bytes
/
docs.yml
File metadata and controls
36 lines (33 loc) · 829 Bytes
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
name: Docs
on:
push:
branches:
- master
tags:
- v*
concurrency:
group: docs
jobs:
docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: gitconfig
run: |
git config --global user.email automate@hanazuki.dev
git config --global user.name automate
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
submodules: recursive
persist-credentials: true
- uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
with:
path: ~/.npm
key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-npm-
- name: Install
run: npm ci
- name: Generate docs
run: scripts/generate-docs.sh