Skip to content

Mkdocs Publish Only on Release or Manual Trigger #456

Mkdocs Publish Only on Release or Manual Trigger

Mkdocs Publish Only on Release or Manual Trigger #456

name: Write OCF Schema File Copyright Notices
on:
push:
branches:
- main
pull_request:
jobs:
enforce-ocf-schema-file-copyright-notices:
name: Write OCF Schema File Copyright Notices
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: Install Dependencies
run: npm install
- name: Check for coypright notices
run: npm run schema:enforce-copyright-notices
- name: Prettier Fix Formatting
run: npm run lint:fix