Skip to content

Move the playground files into docs/tutorial, dropped some older ones #1

Move the playground files into docs/tutorial, dropped some older ones

Move the playground files into docs/tutorial, dropped some older ones #1

Workflow file for this run

name: build docs
description: 'Build the smith manual via asciidoctor'

Check failure on line 2 in .github/workflows/build-docs.yml

View workflow run for this annotation

GitHub Actions / build docs

Invalid workflow file

The workflow is not valid. .github/workflows/build-docs.yml (Line: 2, Col: 1): Unexpected value 'description'
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
doc_build:
runs-on: ubuntu-latest
name: building
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Get build container
id: adocbuild
uses: tonynv/asciidoctor-action@master
with:
program: "asciidoctor -D docs/smith --backend=xhtml5 -n -a toc=left -a source-hightlighter-pygments -o index.html docs/smith/manual.adoc"
- name: Print execution time
run: echo "Time ${{ steps.adocbuild.outputs.time }}"
- name: Deploy docs to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_branch: gh-pages
publish_dir: ./