Skip to content

added build pipeline for docs #1

added build pipeline for docs

added build pipeline for docs #1

Workflow file for this run

on:
release:
types:
- created
push:
branches:
- master
- release/*
paths:
- "docs/**"
- ".github/workflows/docs_build.yml"
pull_request:
paths:
- "docs/**"
- ".github/workflows/docs_build.yml"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-20.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:

Check failure on line 23 in .github/workflows/build_docs.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_docs.yaml

Invalid workflow file

You have an error in your yaml syntax on line 23
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.43'
# mdbook-version: 'latest'
- run: |
mdbook build
zip -r docs.zip docs/book/
- name: Upload docs artifact
uses: actions/upload-artifact@v4
with:
name: eim-docs
path: |
docs.zip
if-no-files-found: error