Skip to content

Add mdbook-deploy.yml #6

Add mdbook-deploy.yml

Add mdbook-deploy.yml #6

Workflow file for this run

---
name: mdbook-deploy
on:
push:
branches:
- user/jacobkoziej/docs
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: install latest version of `mdbook`
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: latest
- name: build docs
run: mdbook build
- name: deploy docs
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: build/docs
FOLDER: build/docs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SKIP_EMPTY_COMMITS: true
MESSAGE: {long-sha}

Check failure on line 35 in .github/workflows/mdbook-deploy.yml

View workflow run for this annotation

GitHub Actions / mdbook-deploy

Invalid workflow file

The workflow is not valid. .github/workflows/mdbook-deploy.yml (Line: 35, Col: 20): A mapping was not expected