Skip to content

docs(all): updated URLs in MkDocs YAML file for publishing #1

docs(all): updated URLs in MkDocs YAML file for publishing

docs(all): updated URLs in MkDocs YAML file for publishing #1

Workflow file for this run

# Copyright IBM Corp. All Rights Reserved.
#
# SPDX-License-Identifier: CC-BY-4.0
name: Deploy Docs (Github Pages)
on:
push:
branches:
- main
paths:
- 'docs/**'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v3
- name: Use Python 3.x
uses: actions/setup-python@v4
with:
python-version: '3.10'
cache: 'pip' # caching pip dependencies
- name: Install dependencies
run: pip install -r requirements.txt
working-directory: docs
- name: Build and publish
run: git pull && mkdocs gh-deploy
working-directory: docs