mirror of
https://github.com/google/magika.git
synced 2026-03-27 16:21:20 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Luca Invernizzi <invernizzi.l@gmail.com>
40 lines
910 B
YAML
40 lines
910 B
YAML
name: JS - generate docs
|
|
|
|
on:
|
|
# Runs on pushes targeting the default branch
|
|
push:
|
|
branches: ["main"]
|
|
paths:
|
|
- "js/**"
|
|
- ".github/workflows/**"
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
makeDocs:
|
|
permissions:
|
|
contents: write
|
|
id-token: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # pin@v4
|
|
with:
|
|
ref: main
|
|
- name: Generate docs
|
|
working-directory: js
|
|
run: |
|
|
yarn install --frozen-lockfile
|
|
yarn run build
|
|
yarn run make-docs
|
|
|
|
- name: Commit
|
|
run: |
|
|
git config --local user.email "invernizzi.l@gmail.com"
|
|
git config --local user.name "Luca Invernizzi"
|
|
git commit -m "Update docs" -a
|