Publish Docs #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Builds and publishes the Appium Inspector MkDocs documentation | |
name: Publish Docs | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use GH Actions credentials | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
- name: Use Node.js LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
cache: 'npm' | |
- name: Install dependencies (Node.js) | |
run: npm install | |
- name: Install dependencies (Python) | |
run: npm run install-docs-deps | |
- name: Build and deploy docs | |
run: npm run publish:docs |