Skip to content

Silence unsafe repository warinings #6

Silence unsafe repository warinings

Silence unsafe repository warinings #6

name: Generate [version] documentation
on:
push:
branches:
- 'v*.*'
jobs:
build_current:
name: Build current
runs-on: ubuntu-latest
container: python:3
steps:
- uses: actions/checkout@v2
with:
ref: 'main'
- name: Install pre-requisites
run: pip install -r requirements.txt
- name: Install mike
run: pip install mike
- name: Build
run: mkdocs build -v --clean
- name: Configure Git user
run: |

Check failure on line 24 in .github/workflows/publish-releases.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish-releases.yml

Invalid workflow file

You have an error in your yaml syntax on line 24
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git config --global user.name "github-actions[bot]"
git config --global --add safe.directory '*'
- name: Deploy MkDoc with mike 🚀
run: |
mike deploy --push ${{ steps.extract_branch.outputs.branch }}