Skip to content

Add example for CLI tests with temporary directories and setting the current working directory (CWD) #349

Add example for CLI tests with temporary directories and setting the current working directory (CWD)

Add example for CLI tests with temporary directories and setting the current working directory (CWD) #349

Workflow file for this run

name: book
on:
pull_request:
push:
branches:
- master
jobs:
book:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v6
- name: Setup
uses: peaceiris/actions-mdbook@v2
with:
mdbook-version: '0.4.14'
- name: Build
run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v4
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book