Skip to content

update production (#1243) #685

update production (#1243)

update production (#1243) #685

Workflow file for this run

name: Build & Deploy (Production)
on:
push:
branches:
- "production"
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Checkout submodules
uses: actions/checkout@v3
with:
repository: ManticoreGamesInc/mkdocs-material
ref: manticore
path: mkdocs-material
# - name: Set up Python 3.8
# uses: actions/[email protected]
# with:
# python-version: 3.8
# cache: "pip"
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: npm
- run: npm install
- name: Lint Paths
run: npm run lint:paths
- name: Lint Markdown
uses: DavidAnson/markdownlint-cli2-action@v10
with:
globs: "src/**/*.md"
- name: Wait for Netlify
uses: jakejarvis/wait-action@master
with:
time: "360s"
- uses: darrenjennings/algolia-docsearch-action@master
with:
algolia_application_id: ${{ secrets.ALGOLIA_APP_ID }}
algolia_api_key: ${{ secrets.ALGOLIA_API_KEY }}
file: "algolia-config.json"