mirror of
https://github.com/litruv/Docs-Viewer.git
synced 2026-07-24 02:36:07 +10:00
updated automations
This commit is contained in:
11
.github/workflows/main.yml
vendored
11
.github/workflows/main.yml
vendored
@@ -2,16 +2,12 @@ name: Build Documentation Index
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
paths:
|
|
||||||
- 'docs/**'
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- master
|
||||||
repository_dispatch:
|
|
||||||
types: [build_docs]
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.actor != 'github-actions[bot]'
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
steps:
|
steps:
|
||||||
@@ -22,6 +18,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: '18'
|
node-version: '18'
|
||||||
|
|
||||||
|
- name: Install dependencies
|
||||||
|
run: npm install
|
||||||
|
|
||||||
- name: Build docs
|
- name: Build docs
|
||||||
run: node build-docs.js
|
run: node build-docs.js
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user