Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use docs for name of workflow and directory #632

Merged
merged 2 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/book.yaml → .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Book
name: Docs

on:
pull_request:
Expand All @@ -13,7 +13,7 @@ defaults:
shell: bash

jobs:
book:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.0.0
Expand All @@ -31,12 +31,12 @@ jobs:
chmod +x mdbook-linkcheck
pwd >> $GITHUB_PATH

- run: mdbook build book
- run: mdbook build docs

- name: Deploy Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/master'
with:
github_token: ${{secrets.GITHUB_TOKEN}}
publish_branch: gh-pages
publish_dir: book/build/html
publish_dir: docs/build/html
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ flamegraph:
benchmark dir=`git branch --show-current`:
./bin/benchmark '{{dir}}'

serve-book:
mdbook serve book --open
serve-docs:
mdbook serve docs --open

build-book:
mdbook build book
build-docs:
mdbook build docs