Skip to content

Merge pull request #102 from boschrexroth/feature/release3.4 #109

Merge pull request #102 from boschrexroth/feature/release3.4

Merge pull request #102 from boschrexroth/feature/release3.4 #109

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Mkdocs
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [main]
tags:
- '*'
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
createdocu:
if: startsWith(github.ref, 'refs/tags/') #runs only tagged version
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: 3.x
- name: Install Python packages
run: pip install mkdocs-material mkdocs-exclude mkdocs-exclude-search mike

Check failure on line 32 in .github/workflows/main.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/main.yml

Invalid workflow file

You have an error in your yaml syntax on line 32
- name: Update gh-pages
run: |
ls -alh
find samples-*/ -name "*.md" | cpio -pd doc/
find samples-*/ -name "*.png" | cpio -pd doc/
find scripts/ -name "*.md" | cpio -pd doc/
find scripts/ -name "*.png" | cpio -pd doc/
# if [ -f "scripts/doc/update_doc.sh" ]; then
# scripts/doc/update_doc.sh ${{ github.ref_name }}
# fi
mike deploy --push --update-aliases ${{ github.ref_name }} latest